From: David Majnemer Date: Wed, 10 Dec 2014 23:08:43 +0000 (+0000) Subject: Forgot to commit this change with r223975 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c916a93b4d423008277bc07894e956a55e6560cf;p=clang Forgot to commit this change with r223975 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223979 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/anonymous-union.cpp b/test/SemaCXX/anonymous-union.cpp index 3b568fd870..46d426cf0c 100644 --- a/test/SemaCXX/anonymous-union.cpp +++ b/test/SemaCXX/anonymous-union.cpp @@ -80,12 +80,12 @@ union { // expected-error{{anonymous unions at namespace or global scope must be }; static union { - int int_val2; + int int_val2; // expected-note{{previous definition is here}} float float_val2; }; void PR21858() { - void int_val2(); + void int_val2(); // expected-error{{redefinition of 'int_val2' as different kind of symbol}} } void f() {