mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
9 lines
210 B
Text
9 lines
210 B
Text
fun main() {
|
|
var t = createEmptyTuple();
|
|
var xy = t.0 as (int, int);
|
|
}
|
|
|
|
/**
|
|
@compilation_should_fail
|
|
@stderr a tuple can not have `(int, int)` inside, because it occupies 2 stack slots in TVM, not 1
|
|
*/
|