aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2020-11-14 21:29:52 +0100
committerHugo Herbelin2020-11-15 14:33:11 +0100
commitd0ed43b5cc0c31b5f0532753587f641716246bb7 (patch)
treee9a18b775551839e83d74c6f450972e0a2a74b46 /test-suite
parenta118b906b3da7cb2e03a72f7a8079a7fc99c6f84 (diff)
Fixes #11816: using {wf ...} in a local fixpoint is an error, not an anomaly.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_11816.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_11816.v b/test-suite/bugs/closed/bug_11816.v
new file mode 100644
index 0000000000..82a317b250
--- /dev/null
+++ b/test-suite/bugs/closed/bug_11816.v
@@ -0,0 +1,2 @@
+(* This should be an error, not an anomaly *)
+Fail Definition foo := fix foo (n : nat) { wf n n } := 0.