2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20040331-1.c
blob4cef3d3297aaf105bed6e01f378a65805533d2e1
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fwrapv" } */
4 extern void abort (void);
5 extern void exit (int);
7 int
8 main (void)
10 struct { int count: 2; } s = { -2 };
11 while (s.count-- != -2)
12 abort ();
13 exit (0);