test-suite/bugs/HoTT_coq_094.v
raw| 1 | Record PreCategory := Build_PreCategory' { object :> Type }. |
| 2 | Class Foo (X : Type) := {}. |
| 3 | Class Bar := {}. |
| 4 | Definition functor_category `{Bar} (C D : PreCategory) `{Foo (object D)} : PreCategory. |
| 5 | Admitted. |
| 6 | Fail Definition functor_object_of `{Bar} (C1 C2 D : PreCategory) `{Foo (object D)} |
| 7 | : functor_category C1 (functor_category C2 D) -> True. |
| 8 | (** Anomaly: File "toplevel/himsg.ml", line ..., characters ...: Assertion failed. |
| 9 | Please report. *) |