solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/assign_to_instruction.sol
2019-05-23 11:30:12 +02:00

10 lines
180 B
Solidity

contract C {
function f() public pure {
assembly {
let mod := 2
}
}
}
// ----
// ParserError: (67-70): Cannot use builtin function name "mod" as identifier name.