[llvm-commits] CVS: llvm/test/Regression/C++Frontend/CompileFail/2003-08-20-ExceptionFail.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 20 15:25:03 PDT 2003


Changes in directory llvm/test/Regression/C++Frontend/CompileFail:

2003-08-20-ExceptionFail.cpp added (r1.1)

---
Log message:

new testcase


---
Diffs of the changes:

Index: llvm/test/Regression/C++Frontend/CompileFail/2003-08-20-ExceptionFail.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/CompileFail/2003-08-20-ExceptionFail.cpp:1.1
*** /dev/null	Wed Aug 20 15:24:19 2003
--- llvm/test/Regression/C++Frontend/CompileFail/2003-08-20-ExceptionFail.cpp	Wed Aug 20 15:24:09 2003
***************
*** 0 ****
--- 1,13 ----
+ void foo();
+ 
+ void bar() {
+   struct local {
+     ~local() { foo(); }
+   } local_obj;
+ 
+   try {
+     foo();
+   } catch(...) {
+   }
+ }
+ 





More information about the llvm-commits mailing list