20 lines
450 B
Plaintext
20 lines
450 B
Plaintext
const x : int = 1; attributes ["inline"]
|
|
|
|
function foo (const a : int) : int is
|
|
block {
|
|
const test : int = 2 + a;
|
|
attributes ["inline"];
|
|
} with test;
|
|
attributes ["inline"];
|
|
|
|
const y : int = 1; attributes ["inline"; "other"]
|
|
|
|
function bar (const b : int) : int is
|
|
block {
|
|
function test (const z : int) : int is
|
|
block {
|
|
const r : int = 2 + b + z
|
|
} with r;
|
|
attributes ["inline"; "foo"; "bar"]
|
|
} with test (b)
|