aboutsummaryrefslogtreecommitdiff
path: root/compile_data
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-05-18 10:22:40 +0800
committerTeddy <[email protected]>2014-05-18 10:22:40 +0800
commit4d74edbe7e76d17984eacb5d3df4d26d857d45b1 (patch)
tree945f6cd60926596d7c4cca1d8f8aadb69ea4b645 /compile_data
parent3ddf0007d1e1e3650e594081b61a713823881f58 (diff)
report: IR
Diffstat (limited to 'compile_data')
-rw-r--r--compile_data/func_pointer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile_data/func_pointer.c b/compile_data/func_pointer.c
index e7b6484..1d74894 100644
--- a/compile_data/func_pointer.c
+++ b/compile_data/func_pointer.c
@@ -1,3 +1,4 @@
+#include <cstdio>
typedef void (*Func_t)();
void f(Func_t func, int step) {
if (!step) return;