diff options
author | Adrian Thurston <thurston@complang.org> | 2014-01-22 22:20:13 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-01-22 22:20:13 -0500 |
commit | 6d840405fdd3471e9f21b9acdf2c4d9e66e424ad (patch) | |
tree | 49ec2a9a378c18e5cfcde3dfd13744f39140ae69 | |
parent | 77fd6f623b41cc879b6721288ddbb7c6285b116a (diff) | |
download | colm-6d840405fdd3471e9f21b9acdf2c4d9e66e424ad.tar.gz |
added test case for make_tree
-rw-r--r-- | test/maketree1.lm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/maketree1.lm b/test/maketree1.lm new file mode 100644 index 00000000..55548325 --- /dev/null +++ b/test/maketree1.lm @@ -0,0 +1,13 @@ +##### LM ##### +lex + token a /'a'/ + token b /'b'/ + token c /'c'/ +end + +def A + [a b c] + +print( make_tree( typeid<A> cons a "a" cons b "b" cons c "c" ) '\n' ) +##### EXP ##### +abc |