]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/friend45.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend45.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend45.C b/gcc/testsuite/g++.old-deja/g++.pt/friend45.C
deleted file mode 100644 (file)
index 17f8dd5..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 14 Aug 2000 <nathan@codesourcery.com>
-
-// bug 42. We ICE'd on instantiating a template with a bogus templated friend.
-
-template<typename T> struct X
-{
-  template<typename D> friend X<D>;         // ERROR - friend must use aggr tag
-};
-
-X<int> g;