diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-07-30 15:35:55 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-07-30 15:35:55 +0000 |
commit | 20cc4b8cd907790dd6d50c2b8c72f90518b6052c (patch) | |
tree | d26ed111f898b089170cd8e6a9c522ac69ec2103 /unittests | |
parent | a114baa5bf0d70aed8b8cf576a864005c0d6a128 (diff) | |
download | external_llvm-20cc4b8cd907790dd6d50c2b8c72f90518b6052c.zip external_llvm-20cc4b8cd907790dd6d50c2b8c72f90518b6052c.tar.gz external_llvm-20cc4b8cd907790dd6d50c2b8c72f90518b6052c.tar.bz2 |
fix a unitialized pointer in NamedMDNode (and reenable unittest)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/VMCore/MetadataTest.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/unittests/VMCore/MetadataTest.cpp b/unittests/VMCore/MetadataTest.cpp index bdb38ef..22b9099 100644 --- a/unittests/VMCore/MetadataTest.cpp +++ b/unittests/VMCore/MetadataTest.cpp @@ -119,8 +119,6 @@ TEST(MDNodeTest, Delete) { EXPECT_STREQ("!0 = metadata !{null}\n", oss.str().c_str()); } - // FIXME: Disabled, this crashes on linux. -#if 0 TEST(NamedMDNodeTest, Search) { Constant *C = ConstantInt::get(Type::Int32Ty, 1); Constant *C2 = ConstantInt::get(Type::Int32Ty, 2); @@ -141,5 +139,4 @@ TEST(NamedMDNodeTest, Search) { "!1 = metadata !{i32 2}\n", oss.str().c_str()); } -#endif } |