test-suite/success/if.v
raw| 1 | (* The synthesis of the elimination predicate may fail if algebraic *) |
| 2 | (* universes are not cautiously treated *) |
| 3 | |
| 4 | Check (fun b : bool => if b then Type else nat). |
| 5 | |
| 6 | (* Check correct use of if-then-else predicate annotation (cf BZ#690) *) |
| 7 | |
| 8 | Check fun b : bool => |
| 9 | if b as b0 return (if b0 then b0 = true else b0 = false) |
| 10 | then refl_equal true |
| 11 | else refl_equal false. |
| 12 |