mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-14 20:22:19 +00:00
12 lines
253 B
Text
12 lines
253 B
Text
|
fun takeInvalidTuple(t: [int, (int, builder), int]) {
|
||
|
}
|
||
|
|
||
|
fun main() {
|
||
|
takeInvalidTuple([1, (2, beginCell()), 0]);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr can not put `(int, builder)` into a tuple, because it occupies 2 stack slots in TVM, not 1
|
||
|
*/
|