add another msize test case

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-03-26 15:11:39 +01:00
parent 17832855e0
commit ec952fd2cb
4 changed files with 42 additions and 4 deletions
+7
View File
@@ -6,4 +6,11 @@ contract MSize {
size := msize()
}
}
function mStore100() public pure returns (uint size) {
assembly {
mstore(100, msize())
size := msize()
}
}
}