summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/example.c
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@carlo-laptop>2012-11-28 11:09:10 +1100
committerCarlo Zancanaro <carlo@carlo-laptop>2012-11-28 11:09:10 +1100
commit62d8d7011c339f9b192099b2fc6a6d2f567f0a4d (patch)
tree13dae8f7e7de727677450535288f90b4a30ba70d /tex/thesis/implementation/experiments/example.c
parent839764bd955d2bddedb4a38ab1d4d92c797c56b9 (diff)
Ahhh! Lots of things.
Diffstat (limited to 'tex/thesis/implementation/experiments/example.c')
-rw-r--r--tex/thesis/implementation/experiments/example.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/thesis/implementation/experiments/example.c b/tex/thesis/implementation/experiments/example.c
index 39b65f2..0010804 100644
--- a/tex/thesis/implementation/experiments/example.c
+++ b/tex/thesis/implementation/experiments/example.c
@@ -1,11 +1,13 @@
int example() {
+ /* A */
int x1 = 1;
int x2 = 1;
- while (x1 <= 8) {
+ while (/* B */ x1 <= 8) {
x1 = x1 + 2;
x2 = x2 + 2;
}
+ /* C */
return x2;
}