Duncan Sands 2007-05-30 10:16:19 +00:00
parent 8767920f20
commit d9e3786d2f
1 changed files with 15 additions and 0 deletions

View File

@ -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 ();
}
}