add another msize test case

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus committed 2024-03-26 15:11:39 +01:00
1 parent 17832855e0
commit ec952fd2cb
4 files changed
+42 -4

No files matched your search

+7
View File
@@ -6,4 +6,11 @@ contract MSize {
size := msize()
}
}
function mStore100() public pure returns (uint size) {
assembly {
mstore(100, msize())
size := msize()
}
}
}