builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr18921-1.c
blobb8c91aa0948a6d3a510630745dc4bcc3a3fb0d1a
1 /* PR middle-end/18921 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 extern void abort (void);
7 int foo (int k)
9 unsigned char j = 0;
10 (k ? 0 : j++) == -1;
11 return j;
14 int main ()
16 if (!foo (0))
17 abort ();
18 return 0;