aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pretty/resource/after/Record.java3
-rw-r--r--test/pretty/resource/before/Record.java4
2 files changed, 7 insertions, 0 deletions
diff --git a/test/pretty/resource/after/Record.java b/test/pretty/resource/after/Record.java
new file mode 100644
index 00000000..c19658af
--- /dev/null
+++ b/test/pretty/resource/after/Record.java
@@ -0,0 +1,3 @@
+public record Record<T>(T field) implements Cloneable {
+
+} \ No newline at end of file
diff --git a/test/pretty/resource/before/Record.java b/test/pretty/resource/before/Record.java
new file mode 100644
index 00000000..f4eee30d
--- /dev/null
+++ b/test/pretty/resource/before/Record.java
@@ -0,0 +1,4 @@
+// version 14:
+public record Record<T>(T field) implements Cloneable {
+
+} \ No newline at end of file