solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/assign_to_instruction.sol

10 lines
180 B
Solidity
Raw Normal View History

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