From: Chris Lattner Date: Sun, 24 Aug 2003 20:19:49 +0000 (+0000) Subject: Add output X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6c3fc3a2d508ee7ba8dc1a08f70abe71b2a22ab;p=oota-llvm.git Add output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8137 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/EH/dead_try_block.cpp b/test/C++Frontend/EH/dead_try_block.cpp index 46a55735573..00a5b1108ea 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 static void foo() {} int main() { try { foo(); - return 0; } catch(...) { return 1; } + printf("All ok\n"); + return 0; }