diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-01-12 22:52:01 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-01-12 22:52:01 +0800 |
commit | 0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70 (patch) | |
tree | 9074bf3487eb97271f7ae80887e55da5f17852fc /test | |
parent | 4713dd625df08fe6a5fe9cd29febcc225951c36d (diff) | |
download | dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.tar dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.tar.gz dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.tar.bz2 dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.tar.lz dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.tar.xz dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.tar.zst dexon-solidity-0cb95ac35e4ae2ce1b9f929c00a2aed282bd4a70.zip |
LLL: add test for (panic) in a sequence
Diffstat (limited to 'test')
-rw-r--r-- | test/liblll/EndToEndTest.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/liblll/EndToEndTest.cpp b/test/liblll/EndToEndTest.cpp index 77c1f740..c7c1fd3b 100644 --- a/test/liblll/EndToEndTest.cpp +++ b/test/liblll/EndToEndTest.cpp @@ -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"( |