solidity/test/libsolidity/syntaxTests/specialFunctions/abidecode/abi_decode_calldata.sol
2018-08-15 10:45:16 +02:00

9 lines
206 B
Solidity

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