diff options
author | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2018-12-09 18:57:17 +0100 |
---|---|---|
committer | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2018-12-09 18:57:17 +0100 |
commit | 21952240e9a785713351ca336e11df498480f905 (patch) | |
tree | d61e33c910adae94b5cde0b2d3ffee13aa8062ee /tests/pracownia3/022_if_eq_true.xi | |
parent | Initial code for translator (diff) |
Tests
Diffstat (limited to 'tests/pracownia3/022_if_eq_true.xi')
-rw-r--r-- | tests/pracownia3/022_if_eq_true.xi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pracownia3/022_if_eq_true.xi b/tests/pracownia3/022_if_eq_true.xi new file mode 100644 index 0000000..4571f1b --- /dev/null +++ b/tests/pracownia3/022_if_eq_true.xi @@ -0,0 +1,13 @@ +main():int +{ + x:int = 33; + result:int = 99 + if (x == 33) { + result = 100 + } + + return result +} + +//@PRACOWNIA +//@out Exit code: 100 \ No newline at end of file |