blob: 69da98b5cca8805c4654b711eddf8547ee4bd124 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
extern void abort (void);
int foo (int size)
{
int a[size];
a[size - 10] = 42;
return a[size - 10] + size;
}
main()
{
int x = foo (20);
if (x != 62)
abort ();
return 0;
}
|