]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/explicit65.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit65.C
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 (file)
index a026e8e..0000000
+++ /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();
-}