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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
crash2.C
blob
3d62d04eb6f4cff98101d690efadd991a1d11bb9
1
// { dg-do assemble }
2
3
struct A {
4
int rep;
5
static const A a(0); // { dg-error "" } initialization
6
static const A b = 3; // { dg-error "" } initialization
7
static const A& c = 2; // { dg-error "" } initialization
8
A(int x) : rep(x) {}
9
};