[cfe-commits] r149025 - /cfe/trunk/test/CodeGenCXX/const-init-cxx11.cpp

Chris Lattner sabre at nondot.org
Wed Jan 25 18:33:22 PST 2012


Author: lattner
Date: Wed Jan 25 20:33:22 2012
New Revision: 149025

URL: http://llvm.org/viewvc/llvm-project?rev=149025&view=rev
Log:
fix to go along with an llvm change: VMCore now returns an UndefValue
when asking for a ConstantStruct with all undef elements.

Modified:
    cfe/trunk/test/CodeGenCXX/const-init-cxx11.cpp

Modified: cfe/trunk/test/CodeGenCXX/const-init-cxx11.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/const-init-cxx11.cpp?rev=149025&r1=149024&r2=149025&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/const-init-cxx11.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/const-init-cxx11.cpp Wed Jan 25 20:33:22 2012
@@ -76,7 +76,7 @@
 
   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();
 }
 





More information about the cfe-commits mailing list