aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2014-08-03 19:15:27 +0200
committerHugo Herbelin2014-08-03 22:04:41 +0200
commite5c025030f9f6ef17a5456850a15c088ff66fa2b (patch)
tree2b36c95c03c9c03310c020e08ecee93d5b7f0d03 /test-suite
parent67500967edf584fcddc41c74aea09d48ee80a03c (diff)
Fixing #3483 (graceful failing with notations to non-constructors in "match").
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/3483.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3483.v b/test-suite/bugs/closed/3483.v
new file mode 100644
index 0000000000..2cc6618620
--- /dev/null
+++ b/test-suite/bugs/closed/3483.v
@@ -0,0 +1,5 @@
+(* Check proper failing when using notation of non-constructors in
+ pattern-bmatching *)
+
+Fail Definition nonsense ( x : False ) := match x with y + 2 => 0 end.
+