]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/template21.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / template21.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/template21.C b/gcc/testsuite/g++.old-deja/g++.brendan/template21.C
deleted file mode 100644 (file)
index 9d61391..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-// Build don't link: 
-// GROUPS passed templates
-template<class T>
-class L {
-public:
-    L();
-
-    T x[30];
-    int doit(int i) const;
-};
-
-#ifdef BUG
-template<class T>
-int
-L<T>::doit(int i) const
-{
-    return x[i].z;
-}
-#endif
-
-class X {
-public:
-    class Y {
-    public:
-        Y();
-        Y(int);
-
-        int z;
-    };
-    
-    L<Y> ly;
-};
-
-#ifndef BUG
-template<class T>
-int
-L<T>::doit(int i) const
-{
-    return x[i].z;
-}
-#endif
-
-static X x;