codegen: some more tests
[mate.git] / tests / If1.java
diff --git a/tests/If1.java b/tests/If1.java
new file mode 100644 (file)
index 0000000..1eff764
--- /dev/null
@@ -0,0 +1,19 @@
+package tests;
+
+public class If1 {
+       public static void main(String []args) {
+               boolean a = true;
+               boolean b = true;
+               boolean c = true;
+               boolean d = true;
+
+               if (a)
+                       System.out.printf("a\n");
+               if (b)
+                       System.out.printf("b\n");
+               if (c)
+                       System.out.printf("c\n");
+               if (d)
+                       System.out.printf("d\n");
+       }
+}