1// g++ 1.37.1 bug 900324_02 2 3// The following erroreous code causes g++ to segfault. 4 5// Cfront 2.0 passes this test. 6 7// keywords: segfault, function pointer, conditional operator ?: 8 9void function_0 (int i) { } 10 11void (*fp)(void); 12 13void function_1 () 14{ 15 fp = 1 ? function_0 : fp; // ERROR - 16} 17 18int main () { return 0; } 19