]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ext/addrfunc2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / addrfunc2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/addrfunc2.C b/gcc/testsuite/g++.old-deja/g++.ext/addrfunc2.C
deleted file mode 100644 (file)
index 97c745d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test for implicit & on methods.
-// Contributed by Jason Merrill <jason@cygnus.com>.
-// Special g++ Options: -fms-extensions
-
-struct A {
-  void f (int = 0) { }
-};
-
-int
-main ()
-{
-  void (A::*p)(int) = 0;
-  p = A::f;
-  if (p != A::f)
-    return 1;
-}