From e925d4d2ed91ddd08337b6bb9ecb5064803e1981 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Fri, 7 Dec 2018 14:45:57 +0100 Subject: Added a printf wrapper in test/mppa/lib --- test/mppa/lib/printf-test.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/mppa/lib/printf-test.c (limited to 'test/mppa/lib/printf-test.c') diff --git a/test/mppa/lib/printf-test.c b/test/mppa/lib/printf-test.c new file mode 100644 index 00000000..25afd436 --- /dev/null +++ b/test/mppa/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; +} -- cgit