aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-11-04 20:46:33 +0800
committersubtly <subtly@users.noreply.github.com>2014-11-04 20:46:33 +0800
commitadc08af7c647ec454e71282a896a7c3e0cd0b8e2 (patch)
tree291928c49bbaea6b546dd4c02291538fc78a0147
parent2d7176b79c42f9969fbab69e9d3af121af422a7f (diff)
parent47d37b12a3050aa90a9aa7c6e379e46cb6b94eeb (diff)
downloaddexon-solidity-adc08af7c647ec454e71282a896a7c3e0cd0b8e2.tar.gz
dexon-solidity-adc08af7c647ec454e71282a896a7c3e0cd0b8e2.tar.zst
dexon-solidity-adc08af7c647ec454e71282a896a7c3e0cd0b8e2.zip
Merge branch 'develop' into bugfix
-rw-r--r--solidityCompiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp
index e0860511..e024043e 100644
--- a/solidityCompiler.cpp
+++ b/solidityCompiler.cpp
@@ -193,7 +193,9 @@ BOOST_AUTO_TEST_CASE(arithmetics)
byte(eth::Instruction::SWAP1),
byte(eth::Instruction::SUB),
byte(eth::Instruction::ADD),
+ byte(eth::Instruction::SWAP1),
byte(eth::Instruction::MOD),
+ byte(eth::Instruction::SWAP1),
byte(eth::Instruction::DIV),
byte(eth::Instruction::MUL)});
BOOST_CHECK_EQUAL_COLLECTIONS(code.begin(), code.end(), expectation.begin(), expectation.end());