mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
245 B
Solidity
11 lines
245 B
Solidity
contract C
|
|
{
|
|
function f() public
|
|
{
|
|
int x = delete (,0);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 4247: (68-69): Expression has to be an lvalue.
|
|
// TypeError 9767: (59-70): Unary operator delete cannot be applied to type tuple(,int_const 0).
|