diff options
Diffstat (limited to 'unittests/IR/TypesTest.cpp')
| -rw-r--r-- | unittests/IR/TypesTest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/unittests/IR/TypesTest.cpp b/unittests/IR/TypesTest.cpp index b4dbf8ec2c73f..f006db51de567 100644 --- a/unittests/IR/TypesTest.cpp +++ b/unittests/IR/TypesTest.cpp @@ -27,12 +27,12 @@ TEST(TypesTest, StructType) { EXPECT_FALSE(Struct->hasName()); } -TEST(TypesTest, LayoutIdenticalEmptyStructs) {
- LLVMContext C;
-
- StructType *Foo = StructType::create(C, "Foo");
- StructType *Bar = StructType::create(C, "Bar");
- EXPECT_TRUE(Foo->isLayoutIdentical(Bar));
-}
+TEST(TypesTest, LayoutIdenticalEmptyStructs) { + LLVMContext C; + + StructType *Foo = StructType::create(C, "Foo"); + StructType *Bar = StructType::create(C, "Bar"); + EXPECT_TRUE(Foo->isLayoutIdentical(Bar)); +} } // end anonymous namespace |
