summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr34099.c
blob: d6f5ad1f6517118d67fad66ebcee920568007ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int foo (int b, int c)
{
  int x;
  if (b)
    return x & c;
  else
    return 1;
}
extern void abort (void);
int main()
{
  if (foo(1, 0) != 0)
    abort ();
  return 0;
}