Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest-tests
Commits
8c3ab4d7
Commit
8c3ab4d7
authored
Jan 26, 2022
by
I-Al-Istannen
Browse files
Add test case for illegal assignment in array index
parent
61882721
Pipeline
#192017
failed with stage
in 19 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
semantic/InvalidArrayIndex.invalid.mj
0 → 100644
View file @
8c3ab4d7
class InvalidArrayIndex {
public void check(int x) {
int[] arr;
arr[5 = x] = x;
}
public static void main(String[] args) {
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment