1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-17 01:31:26 +00:00
2019-05-20 23:10:06 +02:00

14 lines
239 B
TypeScript

// Validates that skipped autorelease state is preserved accross calls and returns.
class Ref {}
function getRef(): Ref {
return new Ref();
}
function rereturnRef(): Ref {
return getRef();
}
/* __release( */ rereturnRef() /* ) */;