LLL: add test for (panic) in a sequence

This commit is contained in:
Alex Beregszaszi 2017-01-12 14:52:01 +00:00
parent 4713dd625d
commit 0cb95ac35e

View File

@ -50,6 +50,13 @@ BOOST_AUTO_TEST_CASE(bare_panic)
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)
{
char const* sourceCode = R"(