r223979 - Forgot to commit this change with r223975
David Majnemer
david.majnemer at gmail.com
Wed Dec 10 15:08:44 PST 2014
Author: majnemer
Date: Wed Dec 10 17:08:43 2014
New Revision: 223979
URL: http://llvm.org/viewvc/llvm-project?rev=223979&view=rev
Log:
Forgot to commit this change with r223975
Modified:
cfe/trunk/test/SemaCXX/anonymous-union.cpp
Modified: cfe/trunk/test/SemaCXX/anonymous-union.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/anonymous-union.cpp?rev=223979&r1=223978&r2=223979&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/anonymous-union.cpp (original)
+++ cfe/trunk/test/SemaCXX/anonymous-union.cpp Wed Dec 10 17:08:43 2014
@@ -80,12 +80,12 @@ union { // expected-error{{anonymous uni
};
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() {
More information about the cfe-commits
mailing list