solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/584_abi_decode_with_tuple_of_other_than_types.sol

6 lines
137 B
Solidity

contract C {
function f() pure public { abi.decode("", (0)); }
}
// ----
// TypeError 1039: (60-61): Argument has to be a type name.