aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/tutorial/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/doc/tutorial/complex.c')
-rw-r--r--system/doc/tutorial/complex.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/doc/tutorial/complex.c b/system/doc/tutorial/complex.c
new file mode 100644
index 0000000000..206d8abf4e
--- /dev/null
+++ b/system/doc/tutorial/complex.c
@@ -0,0 +1,9 @@
+/* complex.c */
+
+int foo(int x) {
+ return x+1;
+}
+
+int bar(int y) {
+ return y*2;
+}