aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C
deleted file mode 100644
index e99103f40e6..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-
-template <class T>
-class S
-{
-protected:
- template <class U>
- void f(U); // ERROR - is protected
-
-private:
- template <class U>
- void g(U); // ERROR - is private
-};
-
-
-void f()
-{
- S<double> s;
- s.f(3); // ERROR - within this context
- s.g(2.0); // ERROR - within this context
-}