mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow "byte" in inline assembly.
This commit is contained in:
@@ -88,6 +88,11 @@ BOOST_AUTO_TEST_CASE(simple_instructions)
|
||||
BOOST_CHECK(successParse("{ dup1 dup1 mul dup1 sub }"));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(keywords)
|
||||
{
|
||||
BOOST_CHECK(successParse("{ byte return }"));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(constants)
|
||||
{
|
||||
BOOST_CHECK(successParse("{ 7 8 mul }"));
|
||||
|
||||
Reference in New Issue
Block a user