summaryrefslogtreecommitdiff
path: root/examples/variables.pipa
diff options
context:
space:
mode:
Diffstat (limited to 'examples/variables.pipa')
-rw-r--r--examples/variables.pipa3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/variables.pipa b/examples/variables.pipa
index 9c395ce..25cbd59 100644
--- a/examples/variables.pipa
+++ b/examples/variables.pipa
@@ -3,5 +3,6 @@ main(): i32 {
b: i32 = 32;
c: i32 = 2 * (b + a);
d: i32 = (c - 33) + 1;
- return d / 2;
+ e: i32 = d;
+ return e / 2;
}