solidity/test/libsolidity/syntaxTests/specialFunctions/encodeCall_tuple_incomplete.sol
2021-12-16 17:35:58 +01:00

9 lines
232 B
Solidity

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.