test-suite/bugs/bug_15815.v
raw| 1 | (* Was failing with anomaly List.chop in 8.15 and was running for very long in 9.0 *) |
| 2 | (* This tests abbreviations with more projection parameters than allowed *) |
| 3 | Class my_class := { |
| 4 | my_class_car : Type; |
| 5 | my_class_field_aux : my_class_car -> nat |
| 6 | }. |
| 7 | |
| 8 | Notation my_class_field := (@my_class_field_aux _). |
| 9 | |
| 10 | Fail Timeout 10 Definition my_test {MC : my_class} (x : my_class_car) : nat := |
| 11 | x.(my_class_field). |