solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/compoundAssignment/tuple_invalid_inline_array_type.sol
2019-02-11 11:23:56 +01:00

9 lines
149 B
Solidity

contract C {
function f() pure public {
uint x;
(x, ) = ([100e100]);
}
}
// ----
// TypeError: (78-85): Invalid mobile type.