solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/empty_fun_arg_end.sol

12 lines
197 B
Solidity
Raw Normal View History

2018-10-24 12:29:33 +00:00
contract C {
function f() public pure {
assembly {
function f(a, b) {}
f()
f(1,)
}
}
}
// ----
// ParserError: (103-104): Literal, identifier or instruction expected.