OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.mike / eh58.C
1 // Build don't link:
2 // Special g++ Options: -fexceptions
3
4 struct C {
5     bool mem;
6     ~C();
7 };
8
9 C genTemp();
10   
11 int foo_notok(int arg) {
12     switch (arg) {
13     case 0:
14         return genTemp().mem;
15     default:
16         return 3;
17     }
18 }