test-suite/bugs/bug_3670.v
raw| 1 | Set Universe Polymorphism. |
| 2 | Module Type FOO. |
| 3 | Parameter f : Type -> Type. |
| 4 | Parameter h : forall T, f T. |
| 5 | End FOO. |
| 6 | |
| 7 | Module Type BAR. |
| 8 | Include FOO. |
| 9 | End BAR. |
| 10 | |
| 11 | Module Type BAZ. |
| 12 | Include FOO. |
| 13 | End BAZ. |
| 14 | |
| 15 | Module BAR_FROM_BAZ (baz : BAZ) <: BAR. |
| 16 | |
| 17 | Definition f : Type -> Type. |
| 18 | Proof. exact baz.f. Defined. |
| 19 | |
| 20 | Definition h : forall T, f T. |
| 21 | Admitted. |
| 22 | |
| 23 | Fail End BAR_FROM_BAZ. |
| 24 | Reset BAR_FROM_BAZ. |