solidity/test/libsolidity/syntaxTests/specialFunctions/abidecode/abi_decode_calldata.sol

9 lines
211 B
Solidity

// This restriction might be lifted in the future
contract C {
function f() public pure {
abi.decode("abc", (bytes calldata));
}
}
// ----
// ParserError 2314: (121-129): Expected ',' but got 'calldata'