1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 22:40:34 +02:00

Fix test for unique macro-introduced toplevels

This commit is contained in:
Andy Wingo 2024-01-29 11:34:59 +01:00
parent bb5829f5ff
commit 49f24d2bf5

View file

@ -1697,7 +1697,9 @@
(with-test-prefix "duplicate top-level introduced definitions"
(pass-if-equal '(42 69)
(begin
(primitive-eval
(macroexpand
'(begin
(define-syntax-rule (defconst f val)
(begin
;; The zeros cause a hash collision.
@ -1705,7 +1707,7 @@
(define (f) t)))
(defconst a 42)
(defconst b 69)
(list (a) (b)))))
(list (a) (b)))))))
;;; Local Variables:
;;; eval: (put 'pass-if-syntax-error 'scheme-indent-function 1)