From: Michael Beck Date: Thu, 13 Sep 2007 09:31:23 +0000 (+0000) Subject: improved test X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=706308925e898f1b4cff2330321b0fb9d811e036;p=libfirm improved test [r15777] --- diff --git a/ir/be/test/mul2n.c b/ir/be/test/mul2n.c index a6dd646ad..2b6fbc057 100644 --- a/ir/be/test/mul2n.c +++ b/ir/be/test/mul2n.c @@ -5,7 +5,9 @@ int a = 0x80000000; int main(void) { - long long x = (long long)a * a; + unsigned long long x = 3 * (unsigned long long)a; + printf("%lld\n", x); + x = (unsigned long long)a * (unsigned long long)a; printf("%lld\n", x); return 0; }