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/ex18.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 output/ex18.java (limited to 'output/ex18.java') diff --git a/output/ex18.java b/output/ex18.java new file mode 100644 index 0000000..b730257 --- /dev/null +++ b/output/ex18.java @@ -0,0 +1,22 @@ +class ex18 { + 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()).next(); + return 0; + } + + public Test next() { + System.out.println(1); + return test; + } +} -- cgit v1.2.3