solidity/test/libsolidity/syntaxTests/iceRegressionTests/declarationUnaryTuple/declaration_bitnot_tuple.sol

10 lines
143 B
Solidity
Raw Normal View History

contract C
{
function f() public
{
int x = ~(0,);
}
}
// ----
// TypeError 8381: (60-64): Tuple component cannot be empty.