diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/return3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/return3.C | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/return3.C b/gcc/testsuite/g++.old-deja/g++.jason/return3.C index 61e3dda02ce..fca7aa3a92f 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/return3.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/return3.C @@ -1,19 +1 @@ -// PRMS id: 10912 - -struct A { - A() { i=10; }; - int i; -}; -struct B : public A {}; -B b; - -A f() -{ - return b; -} - -main () -{ - A a = f (); - return a.i != 10; -} +int main () |