mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 16:56:50 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6c3fc3a2d
commit
cf0e11e1cf
10
test/C++Frontend/2003-08-24-Cleanup.cpp.tr
Normal file
10
test/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