[llvm-commits] CVS: llvm/test/Regression/C++Frontend/EH/dead_try_block.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 24 07:34:00 PDT 2003
Changes in directory llvm/test/Regression/C++Frontend/EH:
dead_try_block.cpp added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/C++Frontend/EH/dead_try_block.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/EH/dead_try_block.cpp:1.1
*** /dev/null Sun Aug 24 07:31:01 2003
--- llvm/test/Regression/C++Frontend/EH/dead_try_block.cpp Sun Aug 24 07:30:51 2003
***************
*** 0 ****
--- 1,11 ----
+ // This testcase doesn't actually DO any EH
+
+ static void foo() {}
+ int main() {
+ try {
+ foo();
+ return 0;
+ } catch(...) {
+ return 1;
+ }
+ }
More information about the llvm-commits
mailing list