aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/ide/univ.fake
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2015-05-27 11:43:10 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2015-05-28 13:50:43 +0200
commitc6714db203f60413523ebeaac86242a6e4cc05e3 (patch)
tree9ffe2cc129142180ff6373401b388f212ce21226 /test-suite/ide/univ.fake
parent866c41b9720413e00194ba7addb9c4277e114890 (diff)
Test for 4159
Diffstat (limited to 'test-suite/ide/univ.fake')
-rw-r--r--test-suite/ide/univ.fake14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/ide/univ.fake b/test-suite/ide/univ.fake
new file mode 100644
index 000000000..90af8785a
--- /dev/null
+++ b/test-suite/ide/univ.fake
@@ -0,0 +1,14 @@
+# Script simulating a dialog between coqide and coqtop -ideslave
+# Run it via fake_ide
+#
+# jumping between broken proofs + interp error while fixing.
+# the error should note make the GUI unfocus the currently focused proof.
+
+# first proof
+ADD { Set Implicit Arguments. }
+ADD { Record dynamic := dyn { dyn_type : Type; dyn_value : dyn_type }. }
+ADD { Lemma dyn_inj_type : forall A1 A2 (x1:A1) (x2:A2), dyn x1 = dyn x2 -> A1 = A2. }
+ADD { Proof. }
+ADD { now intros A1 A2 x1 x2 [= e1 e2]. }
+ADD { Qed. }
+JOIN