Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/multdi-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR target/9348 */ #define u_l_l unsigned long long #define l_l long long l_l mpy_res; u_l_l mpy (long a, long b) { return (u_l_l) a * (u_l_l) b; } int main(void) { mpy_res = mpy(1,-1); if (mpy_res != -1LL) abort (); return 0; }