syntax-rules confusion added by Kooda on Tue Dec 20 11:43:40 2016

(define-syntax test
  (syntax-rules ()
    ((test)
     (define foo 'bar))))

#;1> (test)
#;2> foo
bar