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

11 lines
169 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
}
}
}
// ----
2019-12-19 16:58:20 +00:00
// ParserError: (87-89): Literal or identifier expected.