aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inlineAssembly/invalid/missing_variable_in_assign.sol
blob: c898433340dc87958b3a79fc3841cafc42f3a595 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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.