]> git.sur5r.net Git - cc65/commitdiff
Testcase added.
authorlaubzega <mileksmyk@gmail.com>
Sun, 14 Oct 2018 21:10:59 +0000 (14:10 -0700)
committerOliver Schmidt <ol.sc@web.de>
Tue, 16 Oct 2018 07:45:30 +0000 (09:45 +0200)
test/val/bug735.c [new file with mode: 0644]

diff --git a/test/val/bug735.c b/test/val/bug735.c
new file mode 100644 (file)
index 0000000..7bcc8d9
--- /dev/null
@@ -0,0 +1,17 @@
+#include <stdio.h>
+
+unsigned char failures = 0;
+
+int main(void)
+{
+  int i;
+
+  i = 0;
+  if ((i > 1) && (i < 3)) {
+    failures++;
+  }
+
+  printf("failures: %u\n", failures);
+  return failures;
+}
+