mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Moving the surplus_input
inline assembly test to yulSyntaxTests.
This commit is contained in:
parent
f55844e0f2
commit
1a9a3b115c
@ -170,16 +170,6 @@ do { successParse((text), false, false, AssemblyStack::Language::StrictAssembly)
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(SolidityInlineAssembly)
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(Parsing) // {{{
|
||||
|
||||
BOOST_AUTO_TEST_CASE(surplus_input)
|
||||
{
|
||||
CHECK_PARSE_ERROR("{ } { }", ParserError, "Expected end of source but got '{'");
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END() // }}}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(Printing) // {{{
|
||||
|
||||
BOOST_AUTO_TEST_CASE(print_smoke)
|
||||
|
4
test/libyul/yulSyntaxTests/surplus_input.yul
Normal file
4
test/libyul/yulSyntaxTests/surplus_input.yul
Normal file
@ -0,0 +1,4 @@
|
||||
{}
|
||||
{}
|
||||
// ----
|
||||
// ParserError 2314: (3-4): Expected end of source but got '{'
|
Loading…
Reference in New Issue
Block a user