aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/copy1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/copy1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/copy1.C29
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/copy1.C b/gcc/testsuite/g++.old-deja/g++.pt/copy1.C
deleted file mode 100644
index 7981530f697..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/copy1.C
+++ /dev/null
@@ -1,29 +0,0 @@
-int i = 0;
-
-template <class T>
-class F
-{
-public:
- F() {}
-
- template <class T2> F(F<T2>)
- {
- i = 1;
- }
-};
-
-
-F<int>
-foo()
-{
- F<int> f1;
- F<int> f2(f1);
- return f1;
-}
-
-int
-main()
-{
- return i;
-}
-