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

11 lines
223 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
let mod := 2
}
}
}
// ----
// ParserError: (67-70): Cannot use instruction names for identifier names.
// ParserError: (71-73): Expected ';' but got ':='