]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/template/qual1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / template / qual1.C
diff --git a/gcc/testsuite/g++.dg/template/qual1.C b/gcc/testsuite/g++.dg/template/qual1.C
deleted file mode 100644 (file)
index 3d512c1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// { dg-do compile }
-
-template<class T>
-class Link_array
-{
-public:
-  void sort (int (*compare) (T *const&,T *const&));
-};
-
-int shift_compare (int *const &, int *const &) {};
-
-template<class T> void
-Link_array<T>::sort (int (*compare) (T *const&,T *const&)) 
-{
-}
-
-void f ()
-{
-  Link_array<int> clashes;
-  clashes.sort (shift_compare);
-}