aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb133.C
blob: 5ffdf9e6afea026d5fff8aa482dc93391918b45c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Build don't link:
// Gives ICE 109
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> 
// Reported against EGCS snaps 98/06/28.

int main()
{
	try {
	}
	catch (bad_alloc) { // ERROR - parse error
		return 1;
	}
	return 0;
}