test-suite/bugs/bug_4869.v
raw| 1 | Universes i. |
| 2 | |
| 3 | Fail Constraint i < Set. |
| 4 | Fail Constraint i <= Set. |
| 5 | Fail Constraint i = Set. |
| 6 | Constraint Set <= i. |
| 7 | Constraint Set < i. |
| 8 | Fail Constraint i < j. (* undeclared j *) |
| 9 | (* Now a parsing error |
| 10 | Fail Constraint i < Type. (* anonymous *) |
| 11 | *) |
| 12 | |
| 13 | Set Universe Polymorphism. |
| 14 | |
| 15 | Section Foo. |
| 16 | Universe j. |
| 17 | Constraint Set < j. |
| 18 | |
| 19 | Definition foo := Type@{j}. |
| 20 | End Foo. |