diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-03-27 13:09:08 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-03-27 13:09:08 -0600 |
commit | 8131ddc22af5d39114a55349d71bcdc467599187 (patch) | |
tree | 9aaa7b984f223b1b405bb1598982ea992eeba67d /typecheck/tests/Branch-error.java | |
parent | e8af241aa57104d62c25c8bcbc2df76510998bf9 (diff) |
Expand file structure, Vaporize skeleton
Diffstat (limited to 'typecheck/tests/Branch-error.java')
-rw-r--r-- | typecheck/tests/Branch-error.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/typecheck/tests/Branch-error.java b/typecheck/tests/Branch-error.java new file mode 100644 index 0000000..bc58ff4 --- /dev/null +++ b/typecheck/tests/Branch-error.java @@ -0,0 +1,11 @@ +class Branch { + public static void main(String[] a) { + int a ; + a = 3 ; + + if (a) + System.out.println(1) ; + else + System.out.println(2) ; + } +} |