summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/friend33.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/friend33.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/friend33.C28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend33.C b/gcc/testsuite/g++.old-deja/g++.pt/friend33.C
deleted file mode 100644
index 5feec1a06d7..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/friend33.C
+++ /dev/null
@@ -1,28 +0,0 @@
-// Build don't run:
-// Special g++ Options: -g
-
-template <class P1>
-struct S1
-{
- struct SS1
- {
- };
- friend void Foo (const SS1& ss1)
- {
- }
-};
-
-template <class P1>
-void Foo(const S1<P1>& s1)
-{
- typedef typename S1<P1>::SS1 TYPE;
- TYPE t;
- Foo(t);
-}
-
-int main ()
-{
- S1<double> obj;
- Foo(obj);
-}
-