solidity/test/libsolidity/syntaxTests/specialFunctions/encodeCall_tuple_incomplete.sol

9 lines
232 B
Solidity
Raw Normal View History

2021-11-11 15:21:23 +00:00
contract C {
function f(int a) public {}
function failFunctionArgsIntLiteralTuple() public returns(bytes memory) {
return abi.encodeCall(this.f, (1,));
}
}
// ----
// TypeError 8381: (149-153): Tuple component cannot be empty.