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

11 lines
224 B
Solidity

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