solidity/test/libsolidity/syntaxTests/inlineAssembly/basefee_reserved_london.sol

13 lines
296 B
Solidity
Raw Normal View History

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.