aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit65.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/explicit65.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/explicit65.C33
1 files changed, 0 insertions, 33 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit65.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit65.C
deleted file mode 100644
index a026e8ee3f3..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/explicit65.C
+++ /dev/null
@@ -1,33 +0,0 @@
-extern "C" void abort ();
-
-template <class T> void f ()
-{
- abort ();
-}
-
-template <> void f<char> ()
-{
- abort ();
-}
-
-template <class T> void f (int)
-{
- abort ();
-}
-
-template <> void f<char> (int)
-{
-}
-
-template <class T> class C
-{
- friend void f<char> (int);
- public:
- void ff () { f<char> (0); }
-};
-
-int main ()
-{
- C<int> c;
- c.ff();
-}