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

11 lines
182 B
Solidity
Raw Normal View History

2018-10-24 12:29:33 +00:00
contract C {
function f() public pure {
assembly {
let x := mload(0)
:= 1
}
}
}
// ----
// ParserError: (87-89): Literal, identifier or instruction expected.