From 63551aff281f1d289605fe2c9975a15124dbe643 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sat, 20 Apr 2024 00:23:21 -0600 Subject: Fun with GraphViz --- typecheck/tests/Operator.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 typecheck/tests/Operator.java (limited to 'typecheck/tests/Operator.java') diff --git a/typecheck/tests/Operator.java b/typecheck/tests/Operator.java new file mode 100644 index 0000000..732c905 --- /dev/null +++ b/typecheck/tests/Operator.java @@ -0,0 +1,15 @@ +class test01{ + public static void main(String[] a){ + System.out.println(new Operator().compute()); + } +} + +class Operator{ + + boolean result; + + public int compute(){ + result = true && false; + return 0; + } +} -- cgit v1.2.3