summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data/continue.c
diff options
context:
space:
mode:
Diffstat (limited to 'libacc/tests/data/continue.c')
-rw-r--r--libacc/tests/data/continue.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libacc/tests/data/continue.c b/libacc/tests/data/continue.c
new file mode 100644
index 0000000..d8b8e36
--- /dev/null
+++ b/libacc/tests/data/continue.c
@@ -0,0 +1,13 @@
+int main() {
+ int i, j, sum;
+ sum = 0;
+ for (i = 0; i < 10; i++) {
+ if (i & 1) continue;
+ for (j = 0; j < 10; j++) {
+ if (j & 1) continue;
+ sum += i * j;
+ }
+ }
+ return sum;
+}
+