diff options
Diffstat (limited to 'test/liblll')
-rw-r--r-- | test/liblll/Parser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/liblll/Parser.cpp b/test/liblll/Parser.cpp index 0d5d9ea5..ff73c348 100644 --- a/test/liblll/Parser.cpp +++ b/test/liblll/Parser.cpp @@ -174,6 +174,12 @@ BOOST_AUTO_TEST_CASE(list) BOOST_CHECK(!successParse("()")); } +BOOST_AUTO_TEST_CASE(macro_with_zero_args) +{ + char const* text = "(def 'zeroargs () (asm INVALID))"; + BOOST_CHECK(successParse(text)); +} + BOOST_AUTO_TEST_SUITE_END() } |