From 0b1b772f29e60c0a16c0432f4b6a8f30a92e1773 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Mon, 6 May 2002 18:52:01 +0000 Subject: [PATCH] (basic syncase macro): Added. --- test-suite/tests/syncase.test | 7 +++++++ 1 file changed, 7 insertions(+) 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)))