From 4422432dd55c823595f31163c92306349769d3e4 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Sun, 8 May 2016 16:52:02 +0200 Subject: Fix bug #4713: Anomaly: Assertion Failed for incorrect usage of Module. --- test-suite/bugs/closed/4713.v | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test-suite/bugs/closed/4713.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/4713.v b/test-suite/bugs/closed/4713.v new file mode 100644 index 0000000000..5d4d73be3f --- /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. -- cgit v1.2.3