summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/irreducible.c
diff options
context:
space:
mode:
Diffstat (limited to 'tex/thesis/implementation/experiments/irreducible.c')
-rw-r--r--tex/thesis/implementation/experiments/irreducible.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/thesis/implementation/experiments/irreducible.c b/tex/thesis/implementation/experiments/irreducible.c
new file mode 100644
index 0000000..4402be6
--- /dev/null
+++ b/tex/thesis/implementation/experiments/irreducible.c
@@ -0,0 +1,9 @@
+int irreducible() {
+ int x = 1;
+ while (x > 0) {
+ if (x < 2)
+ x = x + 1;
+ x = x + 1;
+ }
+ return x;
+}