From 706308925e898f1b4cff2330321b0fb9d811e036 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 13 Sep 2007 09:31:23 +0000 Subject: [PATCH] improved test [r15777] --- ir/be/test/mul2n.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.20.1