test-suite/bugs/bug_17796.v
raw| 1 | |
| 2 | |
| 3 | #[universes(template=no)] |
| 4 | Record R := r { x : True }. |
| 5 | Check R : Prop. |
| 6 | |
| 7 | Inductive I := i (_:True). |
| 8 | Check I : Prop. |
| 9 | |
| 10 | Class Foo := foo : True. |
| 11 | Check Foo : Prop. |
| 12 | |
| 13 | Class Thing := thing : True -> nat. |
| 14 | Check Thing : Set. |
| 15 | Fail Check Thing : Prop. |
| 16 | |
| 17 | Axiom sTrue : SProp. |
| 18 | |
| 19 | Class sFoo := sfoo : sTrue. |
| 20 | |
| 21 | Axiom T : Type. |
| 22 | |
| 23 | Class CT := ct : T. |