test-suite/success/Case16.v
raw| 1 | (**********************************************************************) |
| 2 | (* Test dependencies in constructors *) |
| 3 | (**********************************************************************) |
| 4 | |
| 5 | Check |
| 6 | (fun x : {b : bool | if b then True else False} => |
| 7 | match x return (let (b, _) := x in if b then True else False) with |
| 8 | | exist _ true y => y |
| 9 | | exist _ false z => z |
| 10 | end). |