* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr18241-5.c
blob0ddb55f75be1b7328d51da1511b065c5de993035
1 /* { dg-do run } */
2 /* { dg-options "-O1" } */
4 void abort (void);
6 int main ()
8 int a;
9 volatile int *b = &a;
10 a = 1;
11 if (*b != 1)
12 abort ();
13 return 0;