Commit eb4b5e8f authored by Christian Schwarz's avatar Christian Schwarz

test for .length field access, which is invalid in MJ

parent 72cdcf05
class ArrayLength {
public static void main(String[] args) {
int[] x = new int[23];
/* use of .length is invalid in MiniJava */
int y = x.length;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment