[llvm-commits] CVS: llvm/test/Regression/C++Frontend/CompileFail/2003-08-24-Cleanup.cpp.tr

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 24 15:24:01 PDT 2003


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

2003-08-24-Cleanup.cpp.tr added (r1.1)

---
Log message:

New testcase


---
Diffs of the changes:

Index: llvm/test/Regression/C++Frontend/CompileFail/2003-08-24-Cleanup.cpp.tr
diff -c /dev/null llvm/test/Regression/C++Frontend/CompileFail/2003-08-24-Cleanup.cpp.tr:1.1
*** /dev/null	Sun Aug 24 15:23:31 2003
--- llvm/test/Regression/C++Frontend/CompileFail/2003-08-24-Cleanup.cpp.tr	Sun Aug 24 15:23:21 2003
***************
*** 0 ****
--- 1,10 ----
+ // RUN: llvmg++ -xc++ 2003-08-24-Cleanup.cpp.tr -c -o - | dis | grep 'call void %llvm.unwind'
+ 
+ struct S { ~S(); };
+ 
+ int mightthrow();
+ 
+ int test() {
+   S s;
+   mightthrow();
+ }





More information about the llvm-commits mailing list