Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/rfg2.C

raw
1 // { dg-do assemble }
2 // Bug: g++ complains about a class definition containing a const member
3 // but no constructor; it shouldn't complain at that point, since this is
4 // valid use.
5
6 struct S { const int member; } object = { 0 };