solidity/test/libsolidity/semanticTests/inlineAssembly/difficulty.sol
2023-05-11 10:56:55 -05:00

12 lines
190 B
Solidity

contract C {
function f() public view returns (uint ret) {
assembly {
ret := difficulty()
}
}
}
// ====
// EVMVersion: <paris
// ----
// f() -> 200000000