Index: crosstest/simple_loop.c |
diff --git a/crosstest/simple_loop.c b/crosstest/simple_loop.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..af642cc170e47165546b49ac221c7d6dee47714d |
--- /dev/null |
+++ b/crosstest/simple_loop.c |
@@ -0,0 +1,6 @@ |
+int simple_loop(int *a, int n) { |
JF
2014/05/01 00:16:55
Comment explaining test.
Jim Stichnoth
2014/05/05 07:03:55
Done.
|
+ int sum = 0; |
+ for (int i = 0; i < n; ++i) |
+ sum += a[i]; |
+ return sum; |
+} |