diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-05-08 16:52:02 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-05-08 17:00:11 +0200 |
commit | 4422432dd55c823595f31163c92306349769d3e4 (patch) | |
tree | 46aa95c8c86f96a1712d7e92149737ba49a043af /test-suite/bugs/closed/4713.v | |
parent | a10bf993c6b4cf253c907b37f32efa7c9aad591a (diff) |
Fix bug #4713: Anomaly: Assertion Failed for incorrect usage of Module.
Diffstat (limited to 'test-suite/bugs/closed/4713.v')
-rw-r--r-- | test-suite/bugs/closed/4713.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4713.v b/test-suite/bugs/closed/4713.v new file mode 100644 index 000000000..5d4d73be3 --- /dev/null +++ b/test-suite/bugs/closed/4713.v @@ -0,0 +1,10 @@ +Module Type T. + Parameter t : Type. +End T. +Module M : T. + Definition t := unit. +End M. + +Fail Module Z : T with Module t := M := M. +Fail Module Z <: T with Module t := M := M. +Fail Declare Module Z : T with Module t := M. |