mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
LLL: add test for (panic) in a sequence
This commit is contained in:
parent
4713dd625d
commit
0cb95ac35e
@ -50,6 +50,13 @@ BOOST_AUTO_TEST_CASE(bare_panic)
|
|||||||
BOOST_REQUIRE(m_output.empty());
|
BOOST_REQUIRE(m_output.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOST_AUTO_TEST_CASE(panic)
|
||||||
|
{
|
||||||
|
char const* sourceCode = "{ (panic) }";
|
||||||
|
compileAndRunWithoutCheck(sourceCode);
|
||||||
|
BOOST_REQUIRE(m_output.empty());
|
||||||
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(exp_operator_const)
|
BOOST_AUTO_TEST_CASE(exp_operator_const)
|
||||||
{
|
{
|
||||||
char const* sourceCode = R"(
|
char const* sourceCode = R"(
|
||||||
|
Loading…
Reference in New Issue
Block a user