A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git] / test / FrontendC++ / 2007-07-04-NestedCatches.cpp
blobb10a5db754bd6aa090563cb5e77e9407c8cb2151
1 // RUN: %llvmgxx %s -S -O2 -o - | \
2 // RUN: ignore grep {eh\.selector.*One.*Two.*Three.*Four.*Five.*Six.*null} | \
3 // RUN: wc -l | grep {\[01\]}
5 extern void X(void);
7 struct One {};
8 struct Two {};
9 struct Three {};
10 struct Four {};
11 struct Five {};
12 struct Six {};
14 static void A(void) throw ()
16 X();
19 static void B(void) throw (Two)
21 try { A(); } catch (One) {}
24 static void C(void) throw (Six, Five)
26 try { B(); } catch (Three) {} catch (Four) {}
29 int main ()
31 try { C(); } catch (...) {}