test-suite/bugs/bug_4299.v
raw| 1 | Unset Strict Universe Declaration. |
| 2 | Set Universe Polymorphism. |
| 3 | |
| 4 | Module Type Foo. |
| 5 | Definition U := Type : Type. |
| 6 | Parameter eq : Type = U. |
| 7 | End Foo. |
| 8 | |
| 9 | Module M : Foo with Definition U := Type : Type. |
| 10 | Definition U := let X := Type in Type. |
| 11 | Definition eq : Type = U := eq_refl. |
| 12 | Fail End M. |
| 13 | Reset M. |