aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/ide/undo009.fake
blob: 76f400ef06b09f16521c010717501413c5b1f97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Script simulating a dialog between coqide and coqtop -ideslave
# Run it via fake_ide
#
# Undoing declarations, interleaved with proof steps
# new in 8.2 *)
#
ADD { Theorem k : O=O. }
ADD here { assert True by trivial. }
ADD { Definition l := O. }
ADD { assert True by trivial. }
ADD { Definition m := O. }
QUERY { Show. }
EDIT_AT here
# <replay>
ADD { Definition l := O. }
ADD { assert True by trivial. }
ADD { Definition m := O. }
# <\replay>
ADD { assert True by trivial. }
ADD { trivial. }
ADD { Qed. }