blob: 6494c07e4a26ba88d328dbf8cb4b928e41ed9272 [file] [log] [blame]
// This test case is for issue 44: https://github.com/kelloggm/checker-framework/issues/44
public class Pilot3ArrayCreation {
void test(int[] firstArray, int[] secondArray[]) {
int[] newArray = new int[firstArray.length + secondArray.length];
for (int i = 0; i < firstArray.length; i++) {
newArray[i] = firstArray[i]; // or newArray[i] = secondArray[i];
}
}
}