Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.law/pr25000.C

raw
1 // { dg-do compile }
2 // { dg-options "-O2" }
3 int * f(void);
4 void g(int*);
5 bool h(void);
6 void Find( )
7 {
8 int * pRes = f();
9 if( !pRes ) {
10 if( h()){
11 if( h()){
12 try
13 {
14 pRes = new int();
15 f();
16 }catch(int& e1 ){}
17 }
18 if( !pRes )
19 f();
20 }
21 g(pRes);
22 }
23 }
24