2 // g++ 1.37.1 bug 900324_02
4 // The following erroreous code causes g++ to segfault.
6 // Cfront 2.0 passes this test.
8 // keywords: segfault, function pointer, conditional operator ?:
10 void function_0 (int i) { }
16 fp = 1 ? function_0 : fp; // { dg-error "conditional expression|invalid conversion" }
19 int main () { return 0; }