solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/missing_variable_in_assign.sol
2020-01-14 17:16:09 +01:00

11 lines
169 B
Solidity

contract C {
function f() public pure {
assembly {
let x := mload(0)
:= 1
}
}
}
// ----
// ParserError: (87-89): Literal or identifier expected.