mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 18:41:02 +00:00
provide Solidity source for mstore8 tests
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
contract MStore8 {
|
||||||
|
function mStore8(uint value) public pure returns (uint256 word) {
|
||||||
|
assembly {
|
||||||
|
mstore8(0x80, value)
|
||||||
|
word := mload(0x80)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user