aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
deleted file mode 100644
index e14c726c1d7..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
+++ /dev/null
@@ -1,18 +0,0 @@
-class foo
-{
-public:
- template<class T>
- T bar() { return 7; }
-};
-
-int
-main()
-{
- foo f;
-
- int (foo::*s)() = &foo::template bar<int>;
- if ((f.*s)() == 7)
- return 0;
- else
- return 1;
-}