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

15 lines
267 B
Solidity
Raw Normal View History

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