]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.robertl/eb131.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb131.C
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C
deleted file mode 100644 (file)
index 34ee0af..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Build don't link:
-// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> 
-// Reported against EGCS snaps 98/06/18.
-
-struct a {
-       a();
-       void junk( float );
-       void junk( double );
-
-       void bar( double );
-       void bar( float );
-
-  void foo( void (a::*member)(float) );   // ERROR - candidate
-};
-
-a::a()
-{
-       foo( &junk ); // ERROR - junk is an unqualified-id.
-       foo( &bar );  // ERROR - bar is an unqualified-id.
-}