no bitfields yet
[fw/sdcc] / support / regression / tests / logic.c
index 635f46dbb29fb31441093fe22db26517cd86bd8b..25f3e817c78f944aabc5f970bfc579fe87fe98f6 100644 (file)
@@ -56,6 +56,12 @@ testLogicalAnd(void)
         /* Tested using neverGetHere() */
     }
 
+    /* Alternate that is similar. */
+    if (true && false) {
+        neverGetHere();
+        /* Tested using neverGetHere() */
+    }
+
     resetGetHere();
     /* Test that the evaluation is done left to right. */
     if (alwaysGetHere() && true && false) {