New test case.

From-SVN: r33401
This commit is contained in:
Martin v. Löwis 2000-04-25 06:01:42 +00:00
parent f2760b279a
commit d872905426
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
// Build don't link:
int i = 4;
struct S{
char c[i]; // ERROR - size not constant
int h;
int foo(){
return h;
}
};
int main()
{
S x;
int i = x.foo();
}