]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/defarg5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/defarg5.C b/gcc/testsuite/g++.old-deja/g++.pt/defarg5.C
deleted file mode 100644 (file)
index 6a68bad..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Build don't link:
-
-template <int dim>
-class Point {
-  public:
-    Point (Point<dim> &);
-    Point<dim> & operator = (Point<dim> &);
-};
-
-
-
-template <int dim>
-class bar{
-  public:
-    void foo (Point<dim> p = Point<dim>());
-};
-
-
-
-template <>
-void bar<2>::foo (Point<2> p) {
-  const int dim = 2;
-  Point<dim> q = p;
-};