aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/EH/dead_try_block.cpp
blob: 00a5b1108ea49484fecd06343037c8bb1641cf2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This testcase doesn't actually DO any EH
#include <stdio.h>

static void foo() {}
int main() {
	try {
		foo();
	} catch(...) {
		return 1;
	}
	printf("All ok\n");
	return 0;
}