diff options
Diffstat (limited to 'tests/bugs196/java14/UsingPersonRecord.java')
-rw-r--r-- | tests/bugs196/java14/UsingPersonRecord.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bugs196/java14/UsingPersonRecord.java b/tests/bugs196/java14/UsingPersonRecord.java new file mode 100644 index 000000000..a974e9913 --- /dev/null +++ b/tests/bugs196/java14/UsingPersonRecord.java @@ -0,0 +1,7 @@ +public class UsingPersonRecord { + public static void main(String[] argv) { + Person p = new Person("A","B",99); + System.out.println(p); + System.out.println(p.firstName()); + } +} |