test-suite/bugs/bug_3899.v
raw| 1 | Set Primitive Projections. |
| 2 | Record unit : Set := tt {}. |
| 3 | Fail Check fun x : unit => eq_refl : tt = x. |
| 4 | Fail Check fun x : unit => eq_refl : x = tt. |
| 5 | Fail Check fun x y : unit => (eq_refl : x = tt) : x = y. |
| 6 | Fail Check fun x y : unit => eq_refl : x = y. |
| 7 | |
| 8 | Record ok : Set := tt' { a : unit }. |
| 9 | |
| 10 | Record nonprim : Prop := { undef : unit }. |
| 11 | Record prim : Prop := { def : True }. |