summaryrefslogtreecommitdiff
path: root/test-suite/tests/syntax.test
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/tests/syntax.test')
-rw-r--r--test-suite/tests/syntax.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/tests/syntax.test b/test-suite/tests/syntax.test
index 6fac0ba34..a608af6e2 100644
--- a/test-suite/tests/syntax.test
+++ b/test-suite/tests/syntax.test
@@ -1172,6 +1172,11 @@
(r 'outer))
#t)))
+(pass-if "bound-identifier=?"
+ (let* ((x 1) (s1 #'x)
+ (x 2) (s2 #'x))
+ (not (bound-identifier=? s1 s2))))
+
(with-test-prefix "syntax-case"
(pass-if-syntax-error "duplicate pattern variable"