summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb133c.C
blob: 86acdc6bf0268bacd0a60e925affbae7a36e2404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// Gives ICE 109
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> 
// Reported against EGCS snaps 98/06/28.

namespace std { }
using namespace std;

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