diff options
Diffstat (limited to 'typecheck/tests/SimpleArray.java')
-rw-r--r-- | typecheck/tests/SimpleArray.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/typecheck/tests/SimpleArray.java b/typecheck/tests/SimpleArray.java new file mode 100644 index 0000000..9a98d99 --- /dev/null +++ b/typecheck/tests/SimpleArray.java @@ -0,0 +1,6 @@ +class SimpleArithmetic{ + public static void main(String[] a){ + int[] x; + x[0] = 2; + } +} |