aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_10225.v
blob: 6d6bb39a650d510bc334e19bb7f49bb308e7816b (plain)
1
2
3
4
5
6
7
Class Bar := {}.
Instance bb : Bar := {}.

Class Foo := { xx : Bar; foo : nat }.

Fail Instance bar : Foo := { foo := 1 + 1; foo := 2 + 2 }.