(defmacro two-names [] [(gensym) (gensym)]) (defmacro prefixed [] ~(let [,(gensym "tmp") 1] 2)) (macroexpand-1 `(two-names)) (= (gensym) (gensym)) (macroexpand-1 `(prefixed))