solidity/test/libsolidity/semanticTests/builtinFunctions/msg_sig.sol
2020-03-26 17:47:36 +01:00

10 lines
238 B
Solidity

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