☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init4.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/init4.C
code
plain
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