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