From: Chris Lattner Date: Thu, 26 Jan 2012 02:33:22 +0000 (+0000) Subject: fix to go along with an llvm change: VMCore now returns an UndefValue X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a776bec0232a5bf63b8d655194c18a201e5ee47;p=clang fix to go along with an llvm change: VMCore now returns an UndefValue 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 --- diff --git a/test/CodeGenCXX/const-init-cxx11.cpp b/test/CodeGenCXX/const-init-cxx11.cpp index fb5d2cce00..84459fdbb0 100644 --- a/test/CodeGenCXX/const-init-cxx11.cpp +++ b/test/CodeGenCXX/const-init-cxx11.cpp @@ -76,7 +76,7 @@ namespace BaseClass { struct E {}; struct Test2 : X, X, X, X {}; - // CHECK: @_ZN9BaseClass2t2E = global {{.*}} { [4 x i8] undef } + // CHECK: @_ZN9BaseClass2t2E = global {{.*}} undef extern constexpr Test2 t2 = Test2(); }