]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/friend38.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend38.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend38.C b/gcc/testsuite/g++.old-deja/g++.pt/friend38.C
deleted file mode 100644 (file)
index a736301..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Build don't link:
-
-// Overly simplified from testcase by "B. K. Oxley" <binkley@bigfoot.com>
-
-template<class P, class Q> struct foo {
-  typedef P parent_type;
-  friend parent_type; // ERROR - template parameters cannot be friends
-  friend Q;           // ERROR - template parameters cannot be friends
-};