mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
11 lines
269 B
Java
11 lines
269 B
Java
// "Remove unreachable branches" "true"
|
|
class Test {
|
|
void test(Object obj) {
|
|
if (!(obj instanceof R)) return;
|
|
R rec = (R) obj;
|
|
rec = new R(42, "hello");
|
|
System.out.println(rec.s() + rec.i());
|
|
}
|
|
|
|
record R(int i, String s) {}
|
|
} |