repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libffi: Fix 32-bit SPARC structure passing [PR115681]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init4.C
blob
f8246d68f0ed37ea01c20054ba8740d8aacb0ab6
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