summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4046.v
blob: 8f8779b7b29dd304d1588386ac36e4b4cb33fba2 (plain)
1
2
3
4
5
6
Module Import Foo.
  Class Foo := { foo : Type }.
End Foo.

Instance f : Foo := { foo := nat }. (* works fine *)
Instance f' : Foo.Foo := { Foo.foo := nat }.