aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/ide/undo008.fake
blob: 72cab7a30e247e181da7501c92c83e0679ea6853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Script simulating a dialog between coqide and coqtop -ideslave
# Run it via fake_ide
#
# Undoing declarations, as non-first step
# new in 8.2
#
ADD { Theorem h : O=O. }
ADD { assert True by trivial. }
ADD here { Definition i := O. }
ADD { Definition j := O. }
EDIT_AT here
# <replay>
ADD { Definition j := O. }
# <\replay>
ADD { assert True by trivial. }
ADD { trivial. }
ADD { Qed. }
QUERY { Check i. }