blob: 33bb6bf973c10705b61d689da91d85b5b6870131 [file] [log] [blame]
class Test {
static class E extends Exception { }
static class E1 extends E { }
static class E2 extends E { }
void m(boolean f) {
try {
if (f)
throw new E1();
else
throw new E2();
} catch (E1 | E2 e) {
e.printStackTrace();
}
}
}