This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2007-05-23-TryFinally.cpp
blobc7971820ec750264b8d6ba06ff741455ce95977a
1 // RUN: %llvmgxx %s -S -O2 -o - | ignore grep _Unwind_Resume | \
2 // RUN: wc -l | grep {\[23\]}
4 struct One { };
5 struct Two { };
7 void handle_unexpected () {
8 try
10 throw;
12 catch (One &)
14 throw Two ();