test-suite/bugs/bug_11161.v
raw| 1 | (* Ensure that evars are properly normalized in the instance path. |
| 2 | Problems with this can cause eg #11161. *) |
| 3 | |
| 4 | Class Foo (n:nat) := {x : bool}. |
| 5 | |
| 6 | #[export] Instance bar n : Foo n. Admitted. |
| 7 | |
| 8 | #[export] Instance bar' n : Foo n. split. abstract exact true. Qed. |
| 9 | |
| 10 | #[export] Instance bar'' n : Foo n. split. abstract exact true. Defined. |