1// { dg-do assemble } 2// g++ 1.36.1 bug 900121_01 3 4// The following file causes g++ 1.36.1 (and 1.36.2) to abort. 5 6// Cfront 2.0 passes this test. 7 8// keywords: abort, incomplete types, reference types, formal parameters 9 10struct s0; // { dg-message "" } forward declaration 11 12void function (struct s0 &arg1, struct s0 &arg2) 13{ 14 arg1 = arg2; // { dg-error "" } causes abort 15} 16 17int main () { return 0; } 18