diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-24 17:12:52 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-24 17:12:52 -0600 |
commit | 5fb49263868a96ce42fdf40202ce0ff2fc507dd8 (patch) | |
tree | 6abb0f8a6ac0ee8ebaa662f66275fd96696dc6a8 /boil/tests | |
parent | 15569878d1e95aa0d8fcd61a84aba6f0c33efa22 (diff) |
Partial support for array accesses, start fixing MemWrite
Diffstat (limited to 'boil/tests')
-rw-r--r-- | boil/tests/ex42.java | 2 | ||||
-rw-r--r-- | boil/tests/ex44.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/boil/tests/ex42.java b/boil/tests/ex42.java index 8ea74b3..9ee7efa 100644 --- a/boil/tests/ex42.java +++ b/boil/tests/ex42.java @@ -14,7 +14,7 @@ class A { int weight ; int height ; - public Boolean Init(int v_age, int v_Salary, boolean v_Married, int v_weight, int v_height) { + public boolean Init(int v_age, int v_Salary, boolean v_Married, int v_weight, int v_height) { age = v_age ; Salary = v_Salary ; Married = v_Married ; diff --git a/boil/tests/ex44.java b/boil/tests/ex44.java index d4131c2..06c8d55 100644 --- a/boil/tests/ex44.java +++ b/boil/tests/ex44.java @@ -9,7 +9,8 @@ class Operator{ boolean result; public int compute(){ + boolean result ; result = true && false; - return 0; + return 0 ; } } |