]> granicus.if.org Git - clang/commitdiff
fix to go along with an llvm change: VMCore now returns an UndefValue
authorChris Lattner <sabre@nondot.org>
Thu, 26 Jan 2012 02:33:22 +0000 (02:33 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Jan 2012 02:33:22 +0000 (02:33 +0000)
when asking for a ConstantStruct with all undef elements.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149025 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/const-init-cxx11.cpp

index fb5d2cce00996819d9031d42944a1c5601f97b15..84459fdbb03576b109cbd6ce8c2e8a8216e3fc5a 100644 (file)
@@ -76,7 +76,7 @@ namespace BaseClass {
 
   struct E {};
   struct Test2 : X<E,0>, X<E,1>, X<E,2>, X<E,3> {};
-  // CHECK: @_ZN9BaseClass2t2E = global {{.*}} { [4 x i8] undef }
+  // CHECK: @_ZN9BaseClass2t2E = global {{.*}} undef
   extern constexpr Test2 t2 = Test2();
 }