aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/throw1.C
blob: 49a7d1e68fdd8dc67c2cb061148042e444fc027a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:

void athrow(const int & e) throw(int)
{
   throw e;
}

int main(void)
{
   athrow(int());
   return 0;
}