Debian Codegraph @

gcc/testsuite/g++.dg/init/array49.C

raw
1 // PR c++/84632
2 // { dg-additional-options "-w" }
3
4 class {
5 &a; // { dg-error "forbids declaration" }
6 } b[2] = b; // { dg-error "initialized" }