aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/friend10.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/friend10.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/friend10.C29
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend10.C b/gcc/testsuite/g++.old-deja/g++.pt/friend10.C
deleted file mode 100644
index bff432b5620..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/friend10.C
+++ /dev/null
@@ -1,29 +0,0 @@
-template <class T>
-void f(T);
-
-template <class U>
-class C
-{
- template <class T>
- friend void f(T)
- {
- C<U> c;
- c.i = 3;
- }
-
-public:
-
- void g()
- {
- f(3.0);
- }
-
- int i;
-};
-
-int main()
-{
- f(7);
- C<double> c;
- c.g();
-}