solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/empty_fun_arg.sol
2018-10-24 14:29:33 +02:00

14 lines
265 B
Solidity

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.