solidity/test/libsolidity/semanticTests/inlineAssembly/selfbalance.sol

12 lines
201 B
Solidity
Raw Normal View History

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