mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
892700d769
Also added basefee to `EVMVersion::hasOpcode(...)`
13 lines
296 B
Solidity
13 lines
296 B
Solidity
contract C {
|
|
function f() public view returns (uint ret) {
|
|
assembly {
|
|
let basefee := sload(0)
|
|
ret := basefee
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: =london
|
|
// ----
|
|
// ParserError 5568: (98-105): Cannot use builtin function name "basefee" as identifier name.
|