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

12 lines
184 B
Solidity

contract C {
function f() public pure {
assembly {
function f(a, b) {}
f()
f(1,)
}
}
}
// ----
// ParserError: (103-104): Literal or identifier expected.