]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ns/koenig3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / koenig3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/koenig3.C b/gcc/testsuite/g++.old-deja/g++.ns/koenig3.C
deleted file mode 100644 (file)
index e039df6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-//Check association of member pointer in overload resolution.
-struct A {
-       int m_val;
-       friend int operator ->* (A & other, int A::*pm)
-               { return 31; }
-};
-
-int A::*pi = & A::m_val;
-
-int
-main(void)
-{
-       A c;
-       c.m_val = 42;
-       int j = c ->* pi;
-
-       if (j == 31)
-               return 0;
-       else
-               return 1;
-}