solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/empty_fun_arg_end.sol
2022-04-01 23:41:18 -05:00

12 lines
193 B
Solidity

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