commit | 6fe2965ce722826ae7c3af85271f900286ef20c3 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Thu Nov 17 06:01:57 2011 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Thu Nov 17 06:01:57 2011 +0000 |
tree | 89e5edd980075aec80bd66a1d26fb2657f0cd880 | |
parent | e6226ae490903717c8c07782f28bc8349543021f [diff] [blame] |
Include named unions in union member init checking git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144883 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/constructor-initializer.cpp b/test/SemaCXX/constructor-initializer.cpp index e439a76..c6bcad2 100644 --- a/test/SemaCXX/constructor-initializer.cpp +++ b/test/SemaCXX/constructor-initializer.cpp
@@ -74,7 +74,7 @@ union { int b; double d; }; U() : a(1), // expected-note {{previous initialization is here}} - p(0), // expected-error {{initializing multiple members of anonymous union}} + p(0), // expected-error {{initializing multiple members of union}} d(1.0) {} };