Unsigned constants for ISO_FORTRAN_ENV and ISO_C_BINDING.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20030828-1.c
blob08af4e2ad4bfaf0bb8d6f1efc547124c83749dc7
1 void abort (void);
2 void exit (int);
4 const int *p;
6 int bar (void)
8 return *p + 1;
11 int
12 main (void)
14 /* Variable 'i' is never used but it's aliased to a global pointer. The
15 alias analyzer was not considering that 'i' may be used in the call to
16 bar(). */
17 const int i = 5;
18 p = &i;
19 if (bar() != 6)
20 abort ();
21 exit (0);