blob: 4fc1717e4338069b5749a2fed82b515b06c0b1bc [file] [log] [blame]
// Test case for Issue 145
// https://github.com/typetools/checker-framework/issues/145
public class UnionTypes {
public void TryCatch() {
try {
int[] arr = new int[10];
arr[4] = 1;
} catch (ArrayIndexOutOfBoundsException | StringIndexOutOfBoundsException exc) {
Exception e = exc;
}
}
}