diff --git a/test-suite/tests/syncase.test b/test-suite/tests/syncase.test index 1a389a549..88667ea06 100644 --- a/test-suite/tests/syncase.test +++ b/test-suite/tests/syncase.test @@ -28,3 +28,10 @@ (false-if-exception (begin (eval '(use-syntax (ice-9 syncase)) (current-module)) #t))) + +(define-syntax plus + (syntax-rules () + ((plus x ...) (+ x ...)))) + +(pass-if "basic syncase macro" + (= (plus 1 2 3) (+ 1 2 3)))