aboutsummaryrefslogtreecommitdiff
path: root/sys/nmemio/zz.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nmemio/zz.x')
-rw-r--r--sys/nmemio/zz.x11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/nmemio/zz.x b/sys/nmemio/zz.x
new file mode 100644
index 00000000..c81f1506
--- /dev/null
+++ b/sys/nmemio/zz.x
@@ -0,0 +1,11 @@
+task hello = t_hello
+
+procedure t_hello()
+pointer t1, t2
+begin
+ call malloc (t1, SZ_LINE, TY_CHAR)
+ call mfree (t1, TY_CHAR)
+
+ call malloc (t2, SZ_LINE, TY_INT)
+ call mfree (t2, TY_INT)
+end