solidity/test/libsolidity/semanticTests/inlineAssembly/selfbalance.sol
2022-05-19 20:23:28 +02:00

12 lines
201 B
Solidity

contract C {
function f() public payable returns (uint ret) {
assembly {
ret := selfbalance()
}
}
}
// ====
// EVMVersion: >=istanbul
// ----
// f(), 254 wei -> 254