Debian Codegraph @

gcc/testsuite/g++.dg/other/anon4.C

raw
1 // PR c++/27951
2 // { dg-do compile }
3
4 void foo()
5 {
6 int i; // { dg-message "previously" }
7 union { int i; }; // { dg-error "redeclaration" }
8 }