]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/pmf7.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / pmf7.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/pmf7.C b/gcc/testsuite/g++.old-deja/g++.other/pmf7.C
deleted file mode 100644 (file)
index e33ee2c..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Test for proper diagnostics on trying to take the address of a non-static
-// member function.
-
-struct A {
-  void f ();
-  void f (int);
-  void g ();
-};
-
-int main ()
-{
-  A a;
-  &a.f;                                // ERROR - overloaded
-  &a.g;                                // ERROR - can't write a pmf like this
-}