summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/iftrap-2.c
blob: bb7bb5726b1b70d1bd235cc7343fb9dde0e860fe (plain)
1
2
3
4
5
6
7
8
9
10
void foo(int p, int q)
{
  if (p)
    {
      if (q)
        __builtin_trap ();
    }
  else
    bar();
}