diff options
Diffstat (limited to 'csc/macros-test.csc')
| -rw-r--r-- | csc/macros-test.csc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/csc/macros-test.csc b/csc/macros-test.csc new file mode 100644 index 0000000..007b881 --- /dev/null +++ b/csc/macros-test.csc @@ -0,0 +1,12 @@ +(import (scheme base) + (only (csc ir1) make-constant) + (only (csc testing) + assert-equal + test) + (csc macros)) + + +(test builtin-quote + (assert-equal + (make-constant '(test 1 2 3)) + (expand '(quote (test 1 2 3)) test-environment))) |
