summaryrefslogtreecommitdiff
path: root/test-suite/prerequisite/make_local.v
blob: 8700a6c4e2bf2a2069fd57df2c8516af1ab040d3 (plain)
1
2
3
4
5
6
7
8
9
10
(* Used in Import.v to test the locality flag *)

Definition f (A:Type) (a:A) := a.

Local Arguments Scope f [type_scope type_scope].
Local Implicit Arguments f [A].

(* Used in ImportedCoercion.v to test the locality flag *)

Local Coercion g (b:bool) := if b then 0 else 1.