aboutsummaryrefslogtreecommitdiffstats
path: root/test/loop.c
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-10-15 09:25:52 +0100
committerYann Herklotz <git@yannherklotz.com>2020-10-15 09:25:52 +0100
commit6c9cc975a5715f186c00e487c4ed38a221711651 (patch)
treea1255876fd7acc6faededaf18e87c14ec207fec6 /test/loop.c
parented8336189707bd1575de3cfffa730a2594086a33 (diff)
downloadvericert-kvx-6c9cc975a5715f186c00e487c4ed38a221711651.tar.gz
vericert-kvx-6c9cc975a5715f186c00e487c4ed38a221711651.zip
Add HTLBlockgen and more scheduling
Diffstat (limited to 'test/loop.c')
-rw-r--r--test/loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/loop.c b/test/loop.c
index 52e4fe9..bece7f2 100644
--- a/test/loop.c
+++ b/test/loop.c
@@ -1,10 +1,9 @@
int main() {
int max = 5;
int acc = 0;
- int b = 1;
int c = 2;
- for (int i = 0; i < max; i = i + b) {
+ for (int i = 0; i < max; i++) {
acc += i;
}