mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add a test that fails about an LLL macro with no arguments
This commit is contained in:
parent
496c2a208e
commit
b86b084bc6
@ -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()
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user