Add a test that fails about an LLL macro with no arguments

This commit is contained in:
Yoichi Hirai 2017-06-12 14:47:28 +02:00
parent 496c2a208e
commit b86b084bc6
No known key found for this signature in database
GPG Key ID: E7B75D080FCF7992

View File

@ -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()
}