1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
ton/tolk-tester/tests/invalid-self-4.tolk

10 lines
146 B
Text
Raw Normal View History

fun cantReturnNothingFromSelf(mutate self: int): self {
self = self + 1;
}
/**
@compilation_should_fail
@stderr missing return
@stderr }
*/