diff options
-rw-r--r-- | test/C++Frontend/EH/dead_try_block.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/C++Frontend/EH/dead_try_block.cpp b/test/C++Frontend/EH/dead_try_block.cpp index 46a5573557..00a5b1108e 100644 --- a/test/C++Frontend/EH/dead_try_block.cpp +++ b/test/C++Frontend/EH/dead_try_block.cpp @@ -1,11 +1,13 @@ // This testcase doesn't actually DO any EH +#include <stdio.h> static void foo() {} int main() { try { foo(); - return 0; } catch(...) { return 1; } + printf("All ok\n"); + return 0; } |