From my attempt to work around the other one using
er-macro-transformer...
(let ((.index.1-0 (vector-length input)))
(subvector-move-left! input index .index.1-0
array (+ index skew))
- array))))))))))
\ No newline at end of file
+ array))))))))))
+
+(define-test 'quoted-macro-name
+ (lambda ()
+ (assert-error
+ (lambda ()
+ (assert-equal
+ (unsyntax
+ (syntax '(let ()
+ (define-syntax foo
+ (er-macro-transformer
+ (lambda (f r c)
+ `(,(r 'quote) foo))))
+ (foo))
+ test-environment))
+ '(let () 'foo))))))
\ No newline at end of file