aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/EH/dead_try_block.cpp
blob: 46a55735573af011f5fad07105ad3bf7b6b3a2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// This testcase doesn't actually DO any EH

static void foo() {}
int main() {
	try {
		foo();
		return 0;
	} catch(...) {
		return 1;
	}
}