// gcc 2.95.2 bug report // platform: SuSE Linux 6.1 (kernel 2.2.7) // // problem: conditional operator and one throw-expression operand // // Leonard Mosescu (10/29/2000) int main() { // according to the last C++ std both of // the following exp are legal and should have type int, // but gcc (2.95.2) fail to compile them true ? int() : throw 0; true ? throw 0 : int(); }