summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb133a.C
blob: eb6c72d20a606fe709619ab92cb4d466dff7c366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
// 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 (std::bad_alloc) { // { dg-error "" } parse error
		return 1;
	}
	return 0;
}