diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-02-12 12:11:39 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-02-16 13:27:23 +0100 |
commit | 19b04b2bd1c5b505c70723a16505fcb3e6d41ede (patch) | |
tree | f5934ae8e3496cb66f5a619f0d9c67cf61555046 /test-suite/modules | |
parent | 4d17489394dbf6008e5abd5b8d075f08280cd38c (diff) |
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.
Diffstat (limited to 'test-suite/modules')
-rw-r--r-- | test-suite/modules/SeveralWith.v | 12 |
1 files changed, 12 insertions, 0 deletions
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). |