diff options
Diffstat (limited to 'unittests/VMCore/DerivedTypesTest.cpp')
-rw-r--r-- | unittests/VMCore/DerivedTypesTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/VMCore/DerivedTypesTest.cpp b/unittests/VMCore/DerivedTypesTest.cpp index 956215726c..d0ba0264aa 100644 --- a/unittests/VMCore/DerivedTypesTest.cpp +++ b/unittests/VMCore/DerivedTypesTest.cpp @@ -60,7 +60,7 @@ static void PR7658() { v2.push_back(ConstantPointerNull::get(p4)); } - WeakVH CS = ConstantStruct::get(ctx, v2, false); // { i32 14, opaque* null, opaque* null} + WeakVH CS = ConstantStruct::getAnon(ctx, v2, false); // { i32 14, opaque* null, opaque* null} StructType *s2 = StructType::get(ctx, t2); PATypeHolder h2(s2); |