test-suite/bugs/bug_17093.v
raw| 1 | Inductive sTrue : SProp := sI. |
| 2 | |
| 3 | (* Singleton Prop to SProp *) |
| 4 | Definition elim0 (x : False) : sTrue := match x return sTrue with end. |
| 5 | Definition elim0' (x : False) : sTrue := match x with end. |
| 6 | |
| 7 | (* Non-singleton Prop to SProp *) |
| 8 | Definition elim1 (x : inhabited nat) : sTrue := match x return sTrue with inhabits _ => sI end. |
| 9 | Definition elim1' (x : inhabited nat) : sTrue := match x with inhabits _ => sI end. |