aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/deduct1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/deduct1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/deduct1.C27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/deduct1.C b/gcc/testsuite/g++.old-deja/g++.pt/deduct1.C
deleted file mode 100644
index a87b2a7566e..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/deduct1.C
+++ /dev/null
@@ -1,27 +0,0 @@
-// Build don't link:
-
-template<class CoordinateSystem, class MeshTag>
-struct Mesh { };
-
-struct RectGrid { };
-
-struct RectMesh { };
-
-struct Cartesian { };
-
-template<class CS>
-struct Mesh<CS, RectGrid> { };
-
-template<class CS>
-struct Mesh<CS, RectMesh> : public Mesh<CS, RectGrid> { };
-
-template<class CS>
-void foo(const Mesh<CS, RectGrid> &)
-{
-}
-
-int main()
-{
- Mesh<Cartesian, RectMesh> m;
- foo(m);
-}