mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
NEG->BNOT change
This commit is contained in:
parent
9eacf5737f
commit
d706631412
@ -210,11 +210,9 @@ BOOST_AUTO_TEST_CASE(unary_operators)
|
||||
byte(eth::Instruction::PUSH1), 0x1,
|
||||
byte(eth::Instruction::SWAP1),
|
||||
byte(eth::Instruction::SUB),
|
||||
byte(eth::Instruction::NEG),
|
||||
byte(eth::Instruction::PUSH1), 0x1,
|
||||
byte(eth::Instruction::PUSH1), 0x0,
|
||||
byte(eth::Instruction::SUB),
|
||||
byte(eth::Instruction::XOR), // bitwise not
|
||||
byte(eth::Instruction::BNOT),
|
||||
byte(eth::Instruction::PUSH1), 0x2,
|
||||
byte(eth::Instruction::EQ),
|
||||
byte(eth::Instruction::NOT)});
|
||||
|
Loading…
Reference in New Issue
Block a user