blob: 5ae40d79b4fb954fe16f37b43b64c7add5e7cde3 [file] [log] [blame]
Duncan Sands5ae3ef32007-05-30 10:16:19 +00001// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | grep _Unwind_Resume | wc -l | grep {\[03\]}
2
3struct One { };
4struct Two { };
5
6void handle_unexpected () {
7 try
8 {
9 throw;
10 }
11 catch (One &)
12 {
13 throw Two ();
14 }
15}