Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr58510.C

raw
1 // PR c++/58510
2 // { dg-do compile { target c++11 } }
3
4 void foo()
5 {
6 union
7 { // { dg-error "multiple" }
8 int i = 0;
9 char c = 0;
10 };
11 }