summaryrefslogtreecommitdiff
path: root/base/SimpleArray-error.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/SimpleArray-error.java')
-rw-r--r--base/SimpleArray-error.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/SimpleArray-error.java b/base/SimpleArray-error.java
new file mode 100644
index 0000000..61ff06f
--- /dev/null
+++ b/base/SimpleArray-error.java
@@ -0,0 +1,6 @@
+class SimpleArithmetic{
+ public static void main(String[] a){
+ int x;
+ x[0] = 2;
+ }
+}