diff options
Diffstat (limited to 'test-suite/success')
-rw-r--r-- | test-suite/success/implicit.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/success/implicit.v b/test-suite/success/implicit.v index b142ba772..ce3e692f4 100644 --- a/test-suite/success/implicit.v +++ b/test-suite/success/implicit.v @@ -99,3 +99,11 @@ Parameter p : forall A, A -> forall n, n = 0 -> True. Implicit Arguments p [A n]. Notation Q := (p 0). Check Q eq_refl. + +(* Check implicits with Context *) + +Section C. +Context {A:Set}. +Definition h (a:A) := a. +End C. +Check h 0. |