New testcase
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 12:30:51 +0000 (12:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 12:30:51 +0000 (12:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8113 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/EH/dead_try_block.cpp [new file with mode: 0644]

diff --git a/test/C++Frontend/EH/dead_try_block.cpp b/test/C++Frontend/EH/dead_try_block.cpp
new file mode 100644 (file)
index 0000000..46a5573
--- /dev/null
@@ -0,0 +1,11 @@
+// This testcase doesn't actually DO any EH
+
+static void foo() {}
+int main() {
+       try {
+               foo();
+               return 0;
+       } catch(...) {
+               return 1;
+       }
+}