diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/offset2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/offset2.C | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/offset2.C b/gcc/testsuite/g++.old-deja/g++.jason/offset2.C deleted file mode 100644 index a598d433431..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/offset2.C +++ /dev/null @@ -1,23 +0,0 @@ -// PRMS Id: 5070 (testcase 2) - -int status = 1; - -struct foo { - foo& operator= (const foo&) { status = 0; } -}; - -struct xx { - foo a; -}; - -struct yy : public xx { - yy(foo& a) { xx::a = a; } -}; - -int main() -{ - foo f; - yy y (f); - - return status; -} |