aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/bad-type.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/bad-type.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/bad-type.C19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/bad-type.C b/gcc/testsuite/g++.old-deja/g++.pt/bad-type.C
deleted file mode 100644
index 6b22b86a30f..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/bad-type.C
+++ /dev/null
@@ -1,19 +0,0 @@
-template<class Type>
-class A
-{
-public:
- Type m;
-};
-
-template<class Type>
-void f(A<Type>& a, Type d)
-{
- A.m=d; // ERROR - invalid use of template
-}
-
-int main()
-{
- A<int> a;
- f(a,2);
-}
-