aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C
deleted file mode 100644
index 9e97b5e72f9..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp10.C
+++ /dev/null
@@ -1,24 +0,0 @@
-// Build don't run:
-// GROUPS passed templates membertemplates
-extern "C" int printf(const char*, ...);
-
-struct S {
- template <class T>
- operator T*();
-};
-
-
-template <class T>
-S::operator T*()
-{
- printf("Hello, world.\n");
- return 0;
-}
-
-
-int main()
-{
- S s;
-
- char* cp = s.operator char*();
-}