diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C b/gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C deleted file mode 100644 index ea07968c3a3..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C +++ /dev/null @@ -1,16 +0,0 @@ -// g++ 1.36.1 bug 900121_01 - -// The following file causes g++ 1.36.1 (and 1.36.2) to abort. - -// Cfront 2.0 passes this test. - -// keywords: abort, incomplete types, reference types, formal parameters - -struct s0; // ERROR - forward declaration - -void function (struct s0 &arg1, struct s0 &arg2) -{ - arg1 = arg2; // ERROR - causes abort -} - -int main () { return 0; } |