rt_gccstream/gcc/testsuite/gcc.dg/pr18241-5.c

15 lines
168 B
C

/* { dg-do run } */
/* { dg-options "-O1" } */
void abort (void);
int main ()
{
int a;
volatile int *b = &a;
a = 1;
if (*b != 1)
abort ();
return 0;
}