blob: 03a3c06b06fe04df2768b233b2c74a31410e3b4b [file] [log] [blame]
class Records {
record R1() {}
private record R2() {}
@Deprecated
private record R3() {}
record R4<T>() {}
record R5<T>(int x) {}
record R6<T>(@Deprecated int x) {}
record R7<T>(@Deprecated int x, int... y) {}
record R8<T>() implements Comparable<R8<T>> {
@Override
public int compareTo(R8<T> other) {
return 0;
}
}
record R9(int x) {
R9(int x) {
this.x = x;
}
}
}