From: Andreas Zwinkau Date: Thu, 21 Aug 2008 13:36:29 +0000 (+0000) Subject: Test case to use the correct Cmp mode X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2810cf21b632e97ea1aa0d54b2cd4a64f9a83eef;p=libfirm Test case to use the correct Cmp mode [r21315] --- diff --git a/ir/be/test/Bucmp.c b/ir/be/test/Bucmp.c new file mode 100644 index 000000000..74337b275 --- /dev/null +++ b/ir/be/test/Bucmp.c @@ -0,0 +1,11 @@ +char glob = -1; + +int main(void) { + char x = 126; + while (x > 0) { + x++; + printf("%d\n", x); + if (x == -125) break; + } + return 0; +}