mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjustments for the NEG->BNOT change.
This commit is contained in:
parent
d2a474f7fa
commit
eb254f6fdf
@ -212,11 +212,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