aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/pr58387.c
blob: 74c32dfaf10d717df4ccf7a1be3f8a311cb25d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
extern void abort(void);

int a = -1; 

int main ()
{
  int b = a == 0 ? 0 : -a;
  if (b < 1)
    abort ();
  return 0;
}