diff options
| author | Hugo Herbelin | 2018-09-05 21:56:06 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2018-09-05 22:26:59 +0200 |
| commit | 899f3eb1f65ad2e6a3fababa0213ac63e2501bbe (patch) | |
| tree | 301b3ecc7729b38ef1f2066910ff6ea298db8e6c /test-suite/prerequisite | |
| parent | 579f30a53809f9cf73aa3d7c69960b50fc51c7fc (diff) | |
Fixing #8416 (Print Assumptions missing module information from compiled files).
This fixes the fix 1522b989 to #7192.
The remaining Not_found after 1522b989 should have rung a bell that
something was still strange.
Diffstat (limited to 'test-suite/prerequisite')
| -rw-r--r-- | test-suite/prerequisite/module_bug7192.v | 9 | ||||
| -rw-r--r-- | test-suite/prerequisite/module_bug8416.v | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/prerequisite/module_bug7192.v b/test-suite/prerequisite/module_bug7192.v new file mode 100644 index 0000000000..82cfe560af --- /dev/null +++ b/test-suite/prerequisite/module_bug7192.v @@ -0,0 +1,9 @@ +(* Variant of #7192 to be tested in a file requiring this file *) +(* #7192 is about Print Assumptions not entering implementation of submodules *) + +Definition a := True. +Module Type B. Axiom f : Prop. End B. +Module Type C. Declare Module D : B. End C. +Module M7192: C. + Module D <: B. Definition f := a. End D. +End M7192. diff --git a/test-suite/prerequisite/module_bug8416.v b/test-suite/prerequisite/module_bug8416.v new file mode 100644 index 0000000000..70f43d132a --- /dev/null +++ b/test-suite/prerequisite/module_bug8416.v @@ -0,0 +1,2 @@ +Module Type A. Axiom f : True. End A. +Module M8416 : A. Definition f := I. End M8416. |
