]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ns/koenig5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / koenig5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/koenig5.C b/gcc/testsuite/g++.old-deja/g++.ns/koenig5.C
deleted file mode 100644 (file)
index e5500cb..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// To find function pointers in Koenig lookup is ok as long as we only find one.
-namespace A{
-  void foo();             // ERROR - 
-  struct X{};
-  void (*bar)(X*)=0;
-}
-using A::X;
-
-void (*foo)(X*)=0;        // ERROR - 
-
-void g()
-{
-  foo(new X);            // ERROR - both objects and functions found
-  bar(new X);            // ok
-}