aboutsummaryrefslogtreecommitdiff
path: root/test-suite/output
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-20 10:25:15 +0200
committerMaxime Dénès2017-05-20 10:25:15 +0200
commita2d43679596d86033ac52c16ac137d8cf2a06412 (patch)
tree11838f2ff99007be212a6b33c2d14800612e80de /test-suite/output
parentf3a039f7c5a8c1de41d8d4201b3f4cc702a94ba9 (diff)
parent92e3fddf3b2b169e4853cb382f5c44d7ec9f2733 (diff)
Merge PR#653: Bug #5535, test for Show with -emacs
Diffstat (limited to 'test-suite/output')
-rw-r--r--test-suite/output/Show.out12
-rw-r--r--test-suite/output/Show.v11
2 files changed, 23 insertions, 0 deletions
diff --git a/test-suite/output/Show.out b/test-suite/output/Show.out
new file mode 100644
index 0000000000..d0c963be17
--- /dev/null
+++ b/test-suite/output/Show.out
@@ -0,0 +1,12 @@
+3 subgoals, subgoal 1 (ID 29)
+
+ H : 0 = 0
+ ============================
+ 1 = 1
+
+subgoal 2 (ID 33) is:
+ 1 = S (S m')
+subgoal 3 (ID 20) is:
+ S (S n') = S m
+(dependent evars: (printing disabled) )
+
diff --git a/test-suite/output/Show.v b/test-suite/output/Show.v
new file mode 100644
index 0000000000..60faac8dd9
--- /dev/null
+++ b/test-suite/output/Show.v
@@ -0,0 +1,11 @@
+(* -*- mode: coq; coq-prog-args: ("-emacs") -*- *)
+
+(* tests of Show output with -emacs flag to coqtop; see bug 5535 *)
+
+Theorem nums : forall (n m : nat), n = m -> (S n) = (S m).
+Proof.
+ intros.
+ induction n as [| n'].
+ induction m as [| m'].
+ Show.
+Admitted.