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