Allow "byte" in inline assembly.

This commit is contained in:
chriseth
2016-04-06 12:31:31 +02:00
parent 12797ed6c9
commit 26a91109a7
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -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 }"));