]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/template/instantiate1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / template / instantiate1.C
diff --git a/gcc/testsuite/g++.dg/template/instantiate1.C b/gcc/testsuite/g++.dg/template/instantiate1.C
deleted file mode 100644 (file)
index e96bcd2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// { dg-do compile }
-// Origin:
-
-// PR c++/6716
-// ICE in complex class structure when components are incomplete
-
-template <class T> struct X {
-  T t;                         // { dg-error "incomplete" }
-};
-
-template <class T> struct Y {  // { dg-error "instantiated" }
-  X<T> x;
-};
-
-template <class T> struct Z {  // { dg-error "instantiated|declaration" }
-  Y<Z<T> > y;
-};
-
-struct ZZ : Z<int>
-{                              // { dg-error "instantiated" }
-};