summaryrefslogtreecommitdiff
path: root/typecheck/tests
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-20 00:23:21 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-20 00:23:21 -0600
commit63551aff281f1d289605fe2c9975a15124dbe643 (patch)
tree5d016ed04908d8fcf492c3bcefedfcb43c312b2c /typecheck/tests
parent18da70342efb2114042c8ad5fae089cef6e69862 (diff)
Fun with GraphViz
Diffstat (limited to 'typecheck/tests')
-rw-r--r--typecheck/tests/Operator.java15
1 files changed, 15 insertions, 0 deletions
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;
+ }
+}