aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/instr/framework.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa/instr/framework.h')
-rw-r--r--test/mppa/instr/framework.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mppa/instr/framework.h b/test/mppa/instr/framework.h
index 52ba97bc..f43ec616 100644
--- a/test/mppa/instr/framework.h
+++ b/test/mppa/instr/framework.h
@@ -3,6 +3,8 @@
#include "../prng/prng.c"
+int printf(const char *, ...);
+
#define BEGIN_TEST_N(type, N)\
int main(void){\
type t[N], c, i, j, S;\
@@ -28,6 +30,7 @@
/* In between BEGIN_TEST and END_TEST : definition of c */
#define END_TEST()\
+ printf("%llu\n", c);\
S += c;\
}\
return S;\