about summary refs log tree commit diff
path: root/examples/11.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-03-25 00:21:56 +0100
committerBaitinq <[email protected]>2025-03-25 00:21:56 +0100
commite4a1bc33759f2bc39379a93002ac632741cb5f8a (patch)
tree3a089cd55a808fc907b0930cf66c2ce34779f010 /examples/11.src
parentFeature: Add "proper" pointer types (diff)
downloadinterpreter-e4a1bc33759f2bc39379a93002ac632741cb5f8a.tar.gz
interpreter-e4a1bc33759f2bc39379a93002ac632741cb5f8a.tar.bz2
interpreter-e4a1bc33759f2bc39379a93002ac632741cb5f8a.zip
Feature: Add basic support for varargs
Diffstat (limited to 'examples/11.src')
-rw-r--r--examples/11.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/11.src b/examples/11.src
index 5761b20..cfefad8 100644
--- a/examples/11.src
+++ b/examples/11.src
@@ -1,4 +1,4 @@
-extern printf = (*i64, i64) => i64;
+extern printf = (*i64, varargs) => i64;
 
 let main = () => i64 {
 	let y = (f: (i64) => i64, x: i64) => i64 {