aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inlineAssembly/invalid/empty_fun_arg.sol
blob: e05277de68e625b8e41877e520f8c7108b3a11b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
contract C {
  function f() public pure {
    assembly {
      function f(a, b) {}
      f()
      f(1,)
      f(,1)
    }
  }
}
// ----
// ParserError: (113-114): Literal, identifier or instruction expected.
// ParserError: (113-114): Expected primary expression.