mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-04 08:37:45 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7989 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f9039d75fe
commit
f796d8090e
13
test/C++Frontend/2003-08-20-ExceptionFail.cpp
Normal file
13
test/C++Frontend/2003-08-20-ExceptionFail.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
void foo();
|
||||
|
||||
void bar() {
|
||||
struct local {
|
||||
~local() { foo(); }
|
||||
} local_obj;
|
||||
|
||||
try {
|
||||
foo();
|
||||
} catch(...) {
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user