diff options
Diffstat (limited to 'test-suite/success/CanonicalStructure.v')
-rw-r--r-- | test-suite/success/CanonicalStructure.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/CanonicalStructure.v b/test-suite/success/CanonicalStructure.v new file mode 100644 index 00000000..003810cc --- /dev/null +++ b/test-suite/success/CanonicalStructure.v @@ -0,0 +1,7 @@ +(* Bug #1172 *) + +Structure foo : Type := Foo { + A : Set; Aopt := option A; unopt : Aopt -> A +}. + +Canonical Structure unopt_nat := @Foo nat (fun _ => O). |