* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030717-1.c
blob6a7f6de6f444d00923903187537000dca446cd95
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 extern void abort (void);
6 int zero (void)
8 return 0;
11 int one (void)
13 return 1;
16 int main (void)
18 int i = 1;
19 int r = (i ? one : zero)();
20 if (r != 1)
21 abort();
22 return 0;