dmd/compiler/test/fail_compilation/test128.i
2023-01-09 14:20:46 -08:00

15 lines
457 B
OpenEdge ABL

/* TEST_OUTPUT:
---
fail_compilation/test128.i(12): Error: unsigned __int128 not supported
fail_compilation/test128.i(12): Error: __int128 not supported
---
*/
// https://issues.dlang.org/show_bug.cgi?id=23614
unsigned long long _mulx_u64(unsigned long long __X, unsigned long long __Y, unsigned long long *__P)
{
unsigned __int128 __res = (__int128) __X * __Y;
*__P = (unsigned long long) (__res >> 64);
return (unsigned long long) __res;
}