solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/missing_variable_in_assign.sol
2018-10-24 14:29:33 +02:00

12 lines
236 B
Solidity

contract C {
function f() public pure {
assembly {
let x := mload(0)
:= 1
}
}
}
// ----
// ParserError: (87-88): Literal, identifier or instruction expected.
// ParserError: (87-88): Expected primary expression.