diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp81.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp81.C | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp81.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp81.C deleted file mode 100644 index 1584f88b802..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp81.C +++ /dev/null @@ -1,24 +0,0 @@ -// Build don't link: - -template <int i> class a -{ -public : -int k; - -template <int j> int f() const { return this->f<j-1>(); } - -int g() const { return f<i>(); }; -}; - -template <> -template <> -int a<2>::f<0>() const { - return 0; -} - -int main() -{ -a<2> x; -return x.g(); -} - |