Verified Commit 957e4d74 authored by Maximilian Stemmer-Grabow's avatar Maximilian Stemmer-Grabow
Browse files

Remove undefined behavior in array access test case

parent b8ef4af2
......@@ -7,6 +7,8 @@ class Main {
public int[] getArray() {
return new int[0];
int[] result = new int[1];
result[0] = 42;
return result;
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