Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/init4.C

raw
1 // { dg-options "-std=c++98 -pedantic-errors" }
2 // { dg-do assemble }
3
4 class error {
5 public:
6 error(int) {}
7 };
8
9 class foo {
10 const error x = 1; // { dg-error "" } initialization of non-static data member
11 };
12
13