FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / eh49.C
blob469fd41afbcfd99535e55dce84581f21a98bde43
1 // Special g++ Options: -fexceptions -O9
2 // excess errors test - XFAIL sparc64-*-elf arm-*-pe
4 void main1() {
5   throw 1;
8 int main() {
9   try {
10     main1();
11   } catch (...) {
12     return 0;
13   }
14   return 1;