aboutsummaryrefslogtreecommitdiff
path: root/test-suite/interactive/bug_4289.v
diff options
context:
space:
mode:
authorEnrico Tassi2018-10-08 10:29:58 +0200
committerEnrico Tassi2018-10-08 10:29:58 +0200
commit39248aecd9211dde66d80b312b5b66c8fd45cfa4 (patch)
treec00056e19b05bffb4243b81cdcf61b0e3132ae6b /test-suite/interactive/bug_4289.v
parentcbbd19eb3d9740063e900463f6406ba0a144c96a (diff)
parentd19372209eca556bb07116b518d8740ff6385035 (diff)
Merge PR #8630: Some cleaning in the test suite
Diffstat (limited to 'test-suite/interactive/bug_4289.v')
-rw-r--r--test-suite/interactive/bug_4289.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/interactive/bug_4289.v b/test-suite/interactive/bug_4289.v
new file mode 100644
index 0000000000..610a509c9b
--- /dev/null
+++ b/test-suite/interactive/bug_4289.v
@@ -0,0 +1,14 @@
+(* Checking backtracking with modules which used to fail due to an
+ hash-consing bug *)
+
+Module Type A.
+ Axiom B : nat.
+End A.
+Module C (a : A).
+ Include a.
+ Definition c : nat := B.
+End C.
+Back 4.
+Module C (a : A).
+ Include a.
+ Definition c : nat := B.