]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/friend34.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend34.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend34.C b/gcc/testsuite/g++.old-deja/g++.pt/friend34.C
deleted file mode 100644 (file)
index 56eb80a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-// excess errors test 
-
-// This testcase won't fail if class ::foo is forward-declared in the
-// global namespace, nor if class bar is not a template class.
-
-template <typename T = void>
-class bar {
-public:
-  friend class foo; // this is not bar::foo, it forward-declares ::foo
-  class foo {};
-  bar() { foo(); } // but this should refer to bar::foo
-};
-
-bar<> baz;