diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/explicit16.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/explicit16.C | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit16.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit16.C deleted file mode 100644 index c7a87339ca1..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit16.C +++ /dev/null @@ -1,28 +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: - static const int 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(); -} - |