diff options
| author | Pierre Courtieu | 2014-12-15 17:43:14 +0100 |
|---|---|---|
| committer | Pierre Courtieu | 2014-12-15 17:43:35 +0100 |
| commit | 4fec6bdf0ad0f49c98a82538c5caf4511ba5e95c (patch) | |
| tree | 4a713cdd2e77f1332c24dcc017de38933645b65d /test-suite | |
| parent | 5e206cc563471ec61e320ba0e7066604d5671f10 (diff) | |
About now accepts hypothesis names and goal selector.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/output/PrintInfos.v | 16 |
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. + |
