mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
10 lines
164 B
Text
10 lines
164 B
Text
|
fun cantAssignSizesMismatch() {
|
||
|
var [x, y] = [2, 3, 4];
|
||
|
x + y;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr can not assign `[int, int, int]`, sizes mismatch
|
||
|
*/
|