diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/opeq2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/opeq2.C | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/opeq2.C b/gcc/testsuite/g++.old-deja/g++.jason/opeq2.C deleted file mode 100644 index 9e91ab3ae0f..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/opeq2.C +++ /dev/null @@ -1,26 +0,0 @@ -// Bug: default operator= is not being generated properly. -// PRMS Id: 3525 -// Build don't link: - -struct ccUnwind -{ - ccUnwind& operator = (const ccUnwind&); -}; - -struct ccEllipseUnit -{ - ccEllipseUnit () {} -}; - -struct ccEllipse : ccUnwind -{ - ccEllipse (); - ccEllipse (const ccEllipseUnit&); - -}; - -void foo () -{ - ccEllipse e; - e = ccEllipseUnit(); // gets bogus error - assignment not defined -} |