aboutsummaryrefslogtreecommitdiffstats
path: root/test/kvx/lib/printf-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/kvx/lib/printf-test.c')
-rw-r--r--test/kvx/lib/printf-test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/kvx/lib/printf-test.c b/test/kvx/lib/printf-test.c
new file mode 100644
index 00000000..25afd436
--- /dev/null
+++ b/test/kvx/lib/printf-test.c
@@ -0,0 +1,9 @@
+int printf(const char *, ...);
+
+int main(void){
+ int a = 42;
+ char *str = "Hi there";
+ printf("%s, I am %u\n", str, a);
+
+ return 0;
+}