Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.law / pr25000.C
blob45d468020ef954966bfe625dc71f577b71a72b0b
1 // { dg-do compile  }
2 // { dg-options "-O2" }
3 int * f(void);
4 void g(int*);
5 bool h(void);
6 void Find( )
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     }