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

9 lines
206 B
Solidity
Raw Normal View History

2018-06-30 16:09:13 +00:00
// 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'