From 42a95045240803c8ce2f3af9b63ab5a10c07ce0c Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sun, 12 May 2024 01:08:11 -0600 Subject: Add new tests --- output/ex19.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 output/ex19.java (limited to 'output/ex19.java') diff --git a/output/ex19.java b/output/ex19.java new file mode 100644 index 0000000..7afc43c --- /dev/null +++ b/output/ex19.java @@ -0,0 +1,22 @@ +class ex19 { + public static void main(String[] a){ + System.out.println(new Test().start()); + } +} + +class Test { + + Test test; + int[] i; + + public int start() { + i = new int[10]; + test = (this).next(); + return 0; + } + + public Test next() { + System.out.println(1); + return test; + } +} -- cgit v1.2.3