1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-04-28 00:12:15 +00:00
assemblyscript/tests/compiler/inlining-recursive.ts

19 lines
173 B
TypeScript
Raw Permalink Normal View History

// direct
@inline
export function foo(): void {
foo();
}
// indirect
@inline
export function bar(): void {
baz();
}
@inline
export function baz(): void {
bar();
}