diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/parse12.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/parse12.C | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/parse12.C b/gcc/testsuite/g++.old-deja/g++.jason/parse12.C deleted file mode 100644 index eb71775bcf0..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/parse12.C +++ /dev/null @@ -1,17 +0,0 @@ -// PRMS Id: 6821 - -struct A { - int operator()(int i) { return i; } -}; - -struct B { - A* p; - int f () { return (*p)(42); } // gets bogus error -}; - -int main () -{ - B b = { new A }; - - return b.f () != 42; -} |