]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/ttp56.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp56.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp56.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp56.C
deleted file mode 100644 (file)
index 562f430..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-template<class X>
-class A {
-};
-template<class Y>
-class B {
-};
-
-template<template<class XX> class AA> // gets bogus error - `template <class XX> template <class X> class A<X>' previously declared here
-class C {
-       class D {
-       };
-       D d;
-       class E : public B<D> {
-       };
-       E e;
-};
-
-int main() {
-       C<A> c; // gets bogus error - redefinition of `template <class XX> template <class X> class A<X>'
-}
-