diff options
| author | SimonBoulier | 2020-03-17 10:20:50 +0100 |
|---|---|---|
| committer | SimonBoulier | 2020-03-17 10:20:50 +0100 |
| commit | b62a6df9907169f47a72ee78ebe088c68932dd93 (patch) | |
| tree | 495b17631e54a868d4313c2d235d021dfe97e71a | |
| parent | a35e7f9143c8b1c3928978e3b8edc5b326e1f854 (diff) | |
Add test for PR11811 (disable a positivity check)
| -rw-r--r-- | test-suite/bugs/closed/bug_11811.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_11811.v b/test-suite/bugs/closed/bug_11811.v new file mode 100644 index 0000000000..a73494b630 --- /dev/null +++ b/test-suite/bugs/closed/bug_11811.v @@ -0,0 +1,13 @@ + +Unset Positivity Checking. + +Inductive foo : Type -> Type := +| bar : foo (foo unit) +| baz : foo nat. + +Definition toto : forall A, foo A -> {A = foo unit} + {A = nat}. +Proof. + intros A x. destruct x; intuition. +Defined. + +Check (eq_refl : toto _ baz = right eq_refl). |
