solidity/test/libsolidity/syntaxTests/inlineAssembly/evm_byzantium.sol

17 lines
339 B
Solidity

contract C {
function f() pure external {
assembly {
let s := returndatasize()
returndatacopy(0, 0, s)
}
}
function g() view external returns (uint ret) {
assembly {
ret := staticcall(0, gas(), 0, 0, 0, 0)
}
}
}
// ====
// EVMVersion: >=byzantium
// ----