aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2020-02-20 01:44:32 +0100
committerHugo Herbelin2020-02-20 01:58:57 +0100
commita5b552175253726a3cd73471a96b33215ee19af2 (patch)
tree1a2437f26e67a4c19c1b684eedf79feb5bc1fcd5 /test-suite
parent2b72b403d82c15d0420603142e14ab50c7e590c1 (diff)
Fixes #10917 (missing lift in building return clause by inversion).
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_10917.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10917.v b/test-suite/bugs/closed/bug_10917.v
new file mode 100644
index 0000000000..cdb132ede0
--- /dev/null
+++ b/test-suite/bugs/closed/bug_10917.v
@@ -0,0 +1,4 @@
+(* This was raising an anomaly *)
+
+Definition m (h : 0 = 1) P : P 1 -> P 0 :=
+ fun H => match h, H with end.