forked from OSchip/llvm-project
Forgot to commit this change with r223975
llvm-svn: 223979
This commit is contained in:
parent
96761959d4
commit
867b4d807b
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue