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

This commit is contained in:
Yoichi Hirai
2017-06-12 15:16:03 +02:00
parent 496c2a208e
commit b86b084bc6
+6
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()
}