From 5a6e0088adb4e817133d4d7f5a547fbc23fe7951 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Thu, 30 Jul 2015 14:00:12 +0200 Subject: Test file for bug #4289 (buggy hash-consing of kernel name pairs breaking backtracking in the presence of functors). In "interactive" rather than "bugs" because of the use of Back. --- test-suite/interactive/4289.v | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test-suite/interactive/4289.v (limited to 'test-suite/interactive') diff --git a/test-suite/interactive/4289.v b/test-suite/interactive/4289.v new file mode 100644 index 000000000..610a509c9 --- /dev/null +++ b/test-suite/interactive/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. -- cgit v1.2.3