From a4c7f8bd98be2a200489325ff7c5061cf80ab4f3 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 27 Dec 2016 16:53:30 +0100 Subject: Imported Upstream version 8.6 --- test-suite/failure/int31.v | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test-suite/failure/int31.v (limited to 'test-suite/failure/int31.v') diff --git a/test-suite/failure/int31.v b/test-suite/failure/int31.v new file mode 100644 index 00000000..b1d11224 --- /dev/null +++ b/test-suite/failure/int31.v @@ -0,0 +1,17 @@ +Require Import Int31 BigN. + +Open Scope int31_scope. + +(* This used to go through because of an unbalanced stack bug in the bytecode +interpreter *) + +Lemma bad : False. +assert (1 = 2). +change 1 with (add31 (addmuldiv31 65 (add31 1 1) 2) 1). +Fail vm_compute; reflexivity. +(* +discriminate. +Qed. +*) +Abort. + -- cgit v1.2.3