OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.martin
/
crash1.C
1
// { dg-do assemble }
2
int i = 4;
3
struct S{
4
char c[i]; // { dg-error "" } size not constant
5
int h;
6
int foo(){
7
return h;
8
}
9
};
10
11
int main()
12
{
13
S x;
14
int i = x.foo();
15
}