class S  
{ 
public: 
  S(){} 
};  
  
int foo(char* m1) {  
  throw (m1 ? S() : S()); 
} 


syntax highlighted by Code2HTML, v. 0.9.1