From 6a24c69232901de51f50beab9c3d3b3760dee334 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sat, 16 Mar 2024 22:06:32 -0600 Subject: (Nonfunctional) Implemented many type-checking rules --- tests/SimpleArithmetic.java | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/SimpleArithmetic.java (limited to 'tests/SimpleArithmetic.java') diff --git a/tests/SimpleArithmetic.java b/tests/SimpleArithmetic.java new file mode 100644 index 0000000..94c780e --- /dev/null +++ b/tests/SimpleArithmetic.java @@ -0,0 +1,6 @@ +class SimpleArithmetic{ + public static void main(String[] a){ + int x; + x = 1 + 2; + } +} -- cgit v1.2.3