summaryrefslogtreecommitdiff
path: root/test-suite/success/CanonicalStructure.v
blob: 003810cc20ff418096519af9e4424a80ebba0f09 (plain)
1
2
3
4
5
6
7
(* Bug #1172 *)

Structure foo : Type := Foo {
   A : Set; Aopt := option A; unopt : Aopt -> A
}.

Canonical Structure unopt_nat := @Foo nat (fun _ => O).