solidity/test/libsolidity/semanticTests/state/block_chainid.sol
2020-12-10 17:07:54 +00:00

13 lines
193 B
Solidity

contract C {
function f() public returns (uint) {
return block.chainid;
}
}
// ====
// EVMVersion: >=istanbul
// compileViaYul: also
// ----
// f() -> 1
// f() -> 1
// f() -> 1