summaryrefslogtreecommitdiff
path: root/test-suite/prerequisite/module_bug7192.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/prerequisite/module_bug7192.v')
-rw-r--r--test-suite/prerequisite/module_bug7192.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/prerequisite/module_bug7192.v b/test-suite/prerequisite/module_bug7192.v
new file mode 100644
index 00000000..82cfe560
--- /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.