diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/static1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/static1.C | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/static1.C b/gcc/testsuite/g++.old-deja/g++.pt/static1.C deleted file mode 100644 index 67e23631600..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/static1.C +++ /dev/null @@ -1,21 +0,0 @@ -extern "C" void abort(); - -template <class T> -class A -{ - public: - static int foo(int); -}; - -template <> -int A<int>::foo(int i) -{ - return i; -} - - -int main() -{ - if (A<int>::foo(22) != 22) - abort(); -} |