aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2018-12-16 20:33:09 +0100
committerHugo Herbelin2018-12-18 18:24:31 +0100
commit4e529454022b7d2dc0c57d29c813c5801dfd438c (patch)
treed84962c9f9dd70977f3f151610b9c4769ac2023e /test-suite
parent4c733a9282bf2a272eb0ff48811b528aebbfb5a0 (diff)
Fixes #9229 (Infix not robust wrt choice of variable names).
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).