summaryrefslogtreecommitdiffstats
path: root/tests/011/macros-3.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/011/macros-3.tl')
-rw-r--r--tests/011/macros-3.tl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/011/macros-3.tl b/tests/011/macros-3.tl
index bf7cf9a6..e08e5da7 100644
--- a/tests/011/macros-3.tl
+++ b/tests/011/macros-3.tl
@@ -10,3 +10,11 @@
(macrolet ((m (:form f) f))
(m))))))
42)
+
+(defvar x 0)
+(defmacro mac-time-counter () (inc x))
+(defsymacro s (mac-time-counter))
+
+(mtest s 1
+ s 2
+ s 3)