summaryrefslogtreecommitdiffstats
path: root/tests/017/variadic.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/017/variadic.tl')
-rw-r--r--tests/017/variadic.tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/017/variadic.tl b/tests/017/variadic.tl
new file mode 100644
index 00000000..6fa464e0
--- /dev/null
+++ b/tests/017/variadic.tl
@@ -0,0 +1,6 @@
+(load "../common")
+
+(with-dyn-lib (libc)
+ (deffi printf-int-double "printf" int (str : int double)))
+
+(printf-int-double "foo-%d = %4.3f\n" 123 4.56)