summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/crash5.C
blob: eceb22ed1b692f909fcb9bf1537c6a74b3d839a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

int i;
int j;

void
f ()
{
  j = j + (i ? 7 : throw 1);
}