solidity/test/libsolidity/syntaxTests/inlineAssembly/reserved_identifiers_constantinople.sol
2022-04-01 23:41:18 -05:00

15 lines
273 B
Solidity

contract C {
function f() public pure {
assembly {
let shl := 1
}
assembly {
pop(shl(1, 2))
}
}
}
// ====
// EVMVersion: >=constantinople
// ----
// ParserError 5568: (67-70='shl'): Cannot use builtin function name "shl" as identifier name.