PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20080506-2.c
blobd2fac713bd8947b767a3c5c1408c0d2cb83106fc
1 /* PR middle-end/36013 */
3 extern void abort (void);
5 void __attribute__((noinline))
6 foo (int **__restrict p, int **__restrict q)
8 *p[0] = 1;
9 *q[0] = 2;
10 if (*p[0] != 2)
11 abort ();
14 int
15 main (void)
17 int a;
18 int *p1 = &a, *p2 = &a;
19 foo (&p1, &p2);
20 return 0;