Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20000511-1.c
blob11c131522e6e22f1842bdece26546ec7ecc81c0d
1 typedef struct {
2 char y;
3 char x[32];
4 } X;
6 int z (void)
8 X xxx;
9 xxx.x[0] =
10 xxx.x[31] = '0';
11 xxx.y = 0xf;
12 return f (xxx, xxx);
15 int main (void)
17 int val;
19 val = z ();
20 if (val != 0x60)
21 abort ();
22 exit (0);
25 int f(X x, X y)
27 if (x.y != y.y)
28 return 'F';
30 return x.x[0] + y.x[0];