aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Support/IRBuilderTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Support/IRBuilderTest.cpp')
-rw-r--r--unittests/Support/IRBuilderTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/unittests/Support/IRBuilderTest.cpp b/unittests/Support/IRBuilderTest.cpp
index b15de9e..9c48c2c 100644
--- a/unittests/Support/IRBuilderTest.cpp
+++ b/unittests/Support/IRBuilderTest.cpp
@@ -20,6 +20,7 @@
using namespace llvm;
namespace {
+
class IRBuilderTest : public testing::Test {
protected:
virtual void SetUp() {
@@ -38,7 +39,6 @@ protected:
OwningPtr<Module> M;
BasicBlock *BB;
};
-}
TEST_F(IRBuilderTest, Lifetime) {
IRBuilder<> Builder(BB);
@@ -70,3 +70,5 @@ TEST_F(IRBuilderTest, Lifetime) {
ASSERT_TRUE(II_End1 != NULL);
EXPECT_EQ(II_End1->getIntrinsicID(), Intrinsic::lifetime_end);
}
+
+}