diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/explicit13.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/explicit13.C | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit13.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit13.C deleted file mode 100644 index fbb79013038..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit13.C +++ /dev/null @@ -1,22 +0,0 @@ -// Build don't run: -// GROUPS passed templates - -template <class U> -struct S -{ - template <class T> - void foo(T t); - - template <class T> - void bar(T t) { this->template foo<U>(3.74); } -}; - -template <> -template <> -void S<int>::foo(int) { } - -int main() -{ - S<int> s; - s.bar(3); -} |