llvm-6502/test/C++Frontend/EH/dead_try_block.cpp
Chris Lattner f6c3fc3a2d Add output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8137 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 20:19:49 +00:00

14 lines
179 B
C++

// 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;
}