solidity/test/libsolidity/semanticTests/inlineAssembly/keccak256_assembly.sol
2020-03-19 14:42:25 +01:00

13 lines
255 B
Solidity

contract C {
function f() public pure returns (bytes32 ret) {
assembly {
ret := keccak256(0, 0)
}
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470