solidity/test/libsolidity/semanticTests/inlineAssembly/keccak256_assembly.sol

13 lines
255 B
Solidity
Raw Normal View History

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