Testcase for
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070528/050047.html llvm-svn: 37359
This commit is contained in:
parent
8767920f20
commit
d9e3786d2f
|
@ -0,0 +1,15 @@
|
|||
// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | grep _Unwind_Resume | wc -l | grep {\[03\]}
|
||||
|
||||
struct One { };
|
||||
struct Two { };
|
||||
|
||||
void handle_unexpected () {
|
||||
try
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (One &)
|
||||
{
|
||||
throw Two ();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue