aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-12-19 16:26:45 +0100
committerPierre-Marie Pédrot2018-12-19 16:26:45 +0100
commitc3e9f5f8804c3b1da323cb0a7ba7d1e46ccf0849 (patch)
tree46e5f4fe06c02c86bff4550a4d8fd94ef12a406d /test-suite
parent116f255bb51a8186a1986e5147c09a7129692af9 (diff)
parent4e529454022b7d2dc0c57d29c813c5801dfd438c (diff)
Merge PR #9231: Fixes #9229: Infix not robust wrt choice of variable names in right-hand side
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_9229.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_9229.v b/test-suite/bugs/closed/bug_9229.v
new file mode 100644
index 0000000000..7514741af4
--- /dev/null
+++ b/test-suite/bugs/closed/bug_9229.v
@@ -0,0 +1,6 @@
+(* There was a problem of freshness with Infix choice of vars *)
+
+(* In particular, x and y were special... *)
+
+Infix "#" := (fun x y => x + y) (at level 50, left associativity).
+Check (3 # 5).