summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C
deleted file mode 100644
index ca4cf20e7df..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C
+++ /dev/null
@@ -1,25 +0,0 @@
-extern "C" int strcmp(const char*, const char*);
-
-template <class T>
-struct S3
-{
- template <class U>
- static char* h(U);
-};
-
-template <>
-template <>
-char* S3<double>::h(int) { return __PRETTY_FUNCTION__; }
-
-template <>
-template <>
-char* S3<char>::h(int) { return __PRETTY_FUNCTION__; }
-
-int main()
-{
- if (strcmp (S3<double>::h(7),
- "static char * S3<double>::h<int>(int)") == 0)
- return 0;
- else
- return 1;
-}