aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/crash5.C
blob: ef476bf1d3f578c27f0312aeb2b1f948e781012e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>

int i;
int j;

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