about summary refs log tree commit diff
path: root/examples/17.src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/17.src')
-rw-r--r--examples/17.src24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/17.src b/examples/17.src
deleted file mode 100644
index 93a313f..0000000
--- a/examples/17.src
+++ /dev/null
@@ -1,24 +0,0 @@
-extern malloc = (i64) => *i64;
-extern free = (*i64) => void;
-
-import "!stdlib.src";
-
-let main = () => i64 {
-	let x = malloc(8);
-	*x = 10;
-	printf("%p\n", x);
-	printf("%d\n", *x);
-	free(x);
-	return 0;
-};
-
-/*
-
-Expected stdout:
-
-${SOMEPOINTER}
-10
-
-Expected return: 0
-
-*/