test-suite/bugs/HoTT_coq_116.v
raw| 1 | Set Universe Polymorphism. |
| 2 | Section foo. |
| 3 | Let U := Type. |
| 4 | Let U' : Type. |
| 5 | Proof. |
| 6 | let U' := constr:(Type) in |
| 7 | let U_le_U' := constr:(fun x : U => (x : U')) in |
| 8 | exact U'. |
| 9 | Defined. |
| 10 | Inductive t : U' := . |
| 11 | End foo. |
| 12 | (* Toplevel input, characters 15-23: |
| 13 | Error: No such section variable or assumption: U'. *) |