summaryrefslogtreecommitdiff
path: root/test-suite/ide/undo010.fake
blob: 4fe9df98666b69de3a97b4db58359e3e956eb16c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Script simulating a dialog between coqide and coqtop -ideslave
# Run it via fake_ide
#
# Undoing declarations, interleaved with proof steps and commands *)
# new in 8.2 *)
#
INTERP Theorem n : O=O.
INTERP assert True by trivial.
INTERP Definition o := O.
INTERP Ltac h x := x.
INTERP assert True by trivial.
INTERP Focus.
INTERP Definition p := O.
REWIND 1
REWIND 1
REWIND 1
REWIND 1
REWIND 1
# <replay>
INTERP Definition o := O.
INTERP Ltac h x := x.
INTERP assert True by trivial.
INTERP Focus.
INTERP Definition p := O.
# </replay>
INTERP assert True by trivial.
INTERP trivial.
INTERP Qed.