summaryrefslogtreecommitdiffhomepage
path: root/test/test_samples/sample.ncpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-09 22:38:30 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-09 22:40:16 +0100
commit462a7e9796970b259815369ffaf4c5e24af3139c (patch)
tree96f4b1c8f788881b68d1580498affbea0600c351 /test/test_samples/sample.ncpp
parent0877f8698ad68a324d866642ab950a5b22e49af1 (diff)
wip: Nectar stack and object allocation in frontend.v0.1.2-develop
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/test_samples/sample.ncpp')
-rw-r--r--test/test_samples/sample.ncpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_samples/sample.ncpp b/test/test_samples/sample.ncpp
index 1b46a2e..04c590e 100644
--- a/test/test_samples/sample.ncpp
+++ b/test/test_samples/sample.ncpp
@@ -1,9 +1,10 @@
-import ncpp.ostream;
+import ncpp::ostream;
int main(void)
{
let six_seven = 100;
- shared_io()->consume(six_seven);
+ let eight_nine = 1;
+ shared_io()->consume(1, 67);
return 0;
}