3 // g++ 1.37.1 bug 900331_03
5 // Special Options: -ansi
7 // The following code causes g++ to abort.
9 // Curiously, the abort does not occur if the -pedantic option is used.
11 // Cfront 2.0 passes this test.
13 // Keywords: abort, conditional operator?:, lvalues, composite types
18 virtual void function_member () {} // contributes to the abort
29 object2 = (i ? object0 : object1); // OK
30 (i ? object0 : object1) = object2; // causes abort
33 int main () { return 0; }