Commit 3d0a042a authored by uxrog's avatar uxrog
Browse files

Merge branch 'semantic/invalid-array-index' into 'master'

Add test case for illegal assignment in array index

See merge request !59
parents 61882721 8c3ab4d7
Pipeline #192024 failed with stage
in 20 minutes and 47 seconds
class InvalidArrayIndex {
public void check(int x) {
int[] arr;
arr[5 = x] = x;
}
public static void main(String[] args) {
}
}
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