aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre Courtieu2014-12-15 17:43:14 +0100
committerPierre Courtieu2014-12-15 17:43:35 +0100
commit4fec6bdf0ad0f49c98a82538c5caf4511ba5e95c (patch)
tree4a713cdd2e77f1332c24dcc017de38933645b65d /test-suite
parent5e206cc563471ec61e320ba0e7066604d5671f10 (diff)
About now accepts hypothesis names and goal selector.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/PrintInfos.v16
1 files changed, 16 insertions, 0 deletions
diff --git a/test-suite/output/PrintInfos.v b/test-suite/output/PrintInfos.v
index 4edeeb232c..3c623346bf 100644
--- a/test-suite/output/PrintInfos.v
+++ b/test-suite/output/PrintInfos.v
@@ -39,3 +39,19 @@ Print eq_refl.
Arguments eq_refl {A} {x}, {A} x. (* Test new syntax *)
Print eq_refl.
+
+
+Definition newdef := fun x:nat => x.
+
+Goal forall n:nat, n <> newdef n -> newdef n <> n -> False.
+ intros n h h'.
+ About n. (* search hypothesis *)
+ About h. (* search hypothesis *)
+Abort.
+
+Goal forall n:nat, let g := newdef in n <> newdef n -> newdef n <> n -> False.
+ intros n g h h'.
+ About g. (* search hypothesis *)
+ About h. (* search hypothesis *)
+Abort.
+