mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
New testcase
llvm-svn: 8138
This commit is contained in:
parent
352ed0b9f0
commit
e16f66a7e4
10
test/Regression/C++Frontend/2003-08-24-Cleanup.cpp.tr
Normal file
10
test/Regression/C++Frontend/2003-08-24-Cleanup.cpp.tr
Normal file
@ -0,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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user