aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/frame_pointer/b.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/frame_pointer/b.c')
-rw-r--r--test/monniaux/frame_pointer/b.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/monniaux/frame_pointer/b.c b/test/monniaux/frame_pointer/b.c
new file mode 100644
index 00000000..dca8fbec
--- /dev/null
+++ b/test/monniaux/frame_pointer/b.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+unsigned get_size(void) {
+ return 12;
+}
+
+void print_array(unsigned n, const int *t) {
+ for(unsigned i=0; i<n; i++) {
+ printf("%d\n", t[i]);
+ }
+}