summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/chain.c
diff options
context:
space:
mode:
Diffstat (limited to 'tex/thesis/implementation/experiments/chain.c')
-rw-r--r--tex/thesis/implementation/experiments/chain.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/thesis/implementation/experiments/chain.c b/tex/thesis/implementation/experiments/chain.c
new file mode 100644
index 0000000..a8a116d
--- /dev/null
+++ b/tex/thesis/implementation/experiments/chain.c
@@ -0,0 +1,11 @@
+int chain() {
+ int x = 0;
+ int y = x + 10;
+ int z = y * 2;
+ int w = z - 3;
+ int a = w + 300;
+ int b = a * 4;
+ int c = b - 7;
+ return c;
+}
+