diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-24 17:11:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-24 17:25:33 +0100 |
| commit | 34e82c2ecbbdc0aa3e9bc9937b8187580952ed11 (patch) | |
| tree | fe17e055c7d6cc8016dcd722fd3f244362153b83 /test | |
| parent | 97868f338a02ad5acd8049f0ba0474d330e11877 (diff) | |
chore: wip: Inner calls (aka stubs in Nectar)
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_samples/inner.nc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_samples/inner.nc b/test/test_samples/inner.nc new file mode 100644 index 0000000..05657d1 --- /dev/null +++ b/test/test_samples/inner.nc @@ -0,0 +1,13 @@ +let main() +{ + let foo := 42; + + if (foo == 42) + { + const return_stub(): + foo := 0; + return 0x0; + } + + return 0x0; +} |
