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

10 lines
239 B
Solidity

contract test {
function foo(uint256 a) public returns (bytes4 value) {
return msg.sig;
}
}
// ====
// compileToEwasm: also
// ----
// foo(uint256): 0x0 -> 0x2fbebd3800000000000000000000000000000000000000000000000000000000