aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/multiVariableDeclaration/oneElementTuple.sol
blob: 562c7c0b0eb0d07ac778605bd64cc77d3bc9246f (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public {
        (uint a,) = (1,);
        a;
    }
}
// ----
// TypeError: (59-63): Tuple component cannot be empty.