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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.martin
/
crash1.C
blob
dd165b6bfdaed6a11a05a6a9f3d7b2b1ebfcf818
1
// Build don't link:
2
int i = 4;
3
struct S{
4
char c[i]; // 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
}