]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/explicit15.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit15.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit15.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit15.C
deleted file mode 100644 (file)
index 290da42..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't link:
-// GROUPS passed templates
-template<int N_rank>
-class Array;
-
-
-template<class T>
-class ArraySectionInfo {
-public:
-    enum { rank = 0 };
-};
-
-
-template<class T1>
-class SliceInfo {
-public:
-    enum {
-        rank          = ArraySectionInfo<T1>::rank
-    };
-
-    typedef Array<rank> T_slice;
-};
-
-template<class T2>
-typename  SliceInfo<T2>::T_slice
-foo(T2 r2)
-{
-  return SliceInfo<T2>::T_slice();
-}
-