diff options
| author | Hugo Herbelin | 2020-11-14 16:46:19 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2020-11-16 11:43:27 +0100 |
| commit | daba2d7a4546a7d869fd4358b05ca488877bfe18 (patch) | |
| tree | d52205c4d8afebba56395c8fd2948879eb2cb200 /test-suite | |
| parent | 779d2b915a970cdfc87d3d1b69e10bab04094f33 (diff) | |
Fixing the "IllTypedInstance" anomaly part of #5512.
It remains to accept resolving Type(u)<=Prop for u arbitrary sort variable.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_5512.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_5512.v b/test-suite/bugs/closed/bug_5512.v new file mode 100644 index 0000000000..f885e31352 --- /dev/null +++ b/test-suite/bugs/closed/bug_5512.v @@ -0,0 +1,10 @@ +(* Check that an anomaly is not raised *) +(* It should however eventually succeed... *) +Goal exists x, x. +Proof. +simple refine (ex_intro _ _ _). +shelve. +(* The failure is due to Type(u)<=Prop for u an arbitrary sort + variable being rejected *) +Fail simple refine (_ _). +Abort. |
