PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr68143_1.c
blobcbfbbc2458bf6865a33f7fbb30ed77014f9a07c1
1 #define NULL 0
3 struct stuff
5 int a;
6 int b;
7 int c;
8 int d;
9 int e;
10 char *f;
11 int g;
14 void __attribute__ ((noinline))
15 bar (struct stuff *x)
17 if (x->g != 2)
18 __builtin_abort ();
21 int
22 main (int argc, char** argv)
24 struct stuff x = {0, 0, 0, 0, 0, NULL, 0};
25 x.a = 100;
26 x.d = 100;
27 x.g = 2;
28 /* Struct should now look like {100, 0, 0, 100, 0, 0, 0, 2}. */
29 bar (&x);
30 return 0;