]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/parse12.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / parse12.C
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 (file)
index eb71775..0000000
+++ /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;
-}