solidity/test/libsolidity/syntaxTests/iceRegressionTests/declarationUnaryTuple/declaration_delete_tuple.sol
2022-04-01 23:41:18 -05:00

11 lines
262 B
Solidity

contract C
{
function f() public
{
int x = delete (,0);
}
}
// ----
// TypeError 4247: (68-69='0'): Expression has to be an lvalue.
// TypeError 9767: (59-70='delete (,0)'): Unary operator delete cannot be applied to type tuple(,int_const 0)