aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-02-22 15:22:54 -0500
committerEmilio Jesus Gallego Arias2020-02-22 15:22:54 -0500
commit53c9fd8339873b2bd77d756a96a2908eb5ce078a (patch)
treedbaa26ee712b3dc4328fb21140b2eee39b9f0bca /test-suite
parentde66463971d96cb5d2a1d1379d42e9187eb4fd0d (diff)
parenta5b552175253726a3cd73471a96b33215ee19af2 (diff)
Merge PR #11639: Fixes #10917: anomaly in building return clause of n-ary pattern-matching problem
Reviewed-by: ejgallego
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.