From 11337dac57824fc96c91cba7c4d0bc6d1c068068 Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Fri, 22 Nov 2019 14:13:34 +0100 Subject: Add test for #11161 This is better than expecting other tests to fail if we mess up again. --- test-suite/bugs/closed/bug_11161.v | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test-suite/bugs/closed/bug_11161.v diff --git a/test-suite/bugs/closed/bug_11161.v b/test-suite/bugs/closed/bug_11161.v new file mode 100644 index 0000000000..22a075e096 --- /dev/null +++ b/test-suite/bugs/closed/bug_11161.v @@ -0,0 +1,10 @@ +(* Ensure that evars are properly normalized in the instance path. + Problems with this can cause eg #11161. *) + +Class Foo (n:nat) := {x : bool}. + +Instance bar n : Foo n. Admitted. + +Instance bar' n : Foo n. split. abstract exact true. Qed. + +Instance bar'' n : Foo n. split. abstract exact true. Defined. -- cgit v1.2.3