From 19b04b2bd1c5b505c70723a16505fcb3e6d41ede Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Mon, 12 Feb 2018 12:11:39 +0100 Subject: Adding a test for the construction that was broken in Coccinelle. There was no test in the test-suite checking for double with-def constraints in module typing. --- test-suite/modules/SeveralWith.v | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test-suite/modules/SeveralWith.v (limited to 'test-suite/modules') diff --git a/test-suite/modules/SeveralWith.v b/test-suite/modules/SeveralWith.v new file mode 100644 index 000000000..bbf72a764 --- /dev/null +++ b/test-suite/modules/SeveralWith.v @@ -0,0 +1,12 @@ +Module Type S. +Parameter A : Type. +End S. + +Module Type ES. +Parameter A : Type. +Parameter eq : A -> A -> Type. +End ES. + +Module Make + (AX : S) + (X : ES with Definition A := AX.A with Definition eq := @eq AX.A). -- cgit v1.2.3