mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
14 lines
259 B
Text
14 lines
259 B
Text
|
@pure
|
||
|
fun tupleMut(mutate self: tuple): int
|
||
|
asm "TLEN";
|
||
|
|
||
|
fun main() {
|
||
|
var t = createEmptyTuple();
|
||
|
return [[t.tupleMut]];
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr saving `tupleMut` into a variable is impossible, since it has `mutate` parameters
|
||
|
*/
|