[Issue 21976] importC: does not distinguish between cast-expression and unary-expression correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 3 10:00:36 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21976

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
This is the full example from `wctype.h`.

---
enum
{
  __ISwupper = 0,
  _ISwupper = ((__ISwupper) < 8
    ? (int) ((1UL << (__ISwupper)) << 24)
    : ((__ISwupper) < 16
        ? (int) ((1UL << (__ISwupper)) << 8)
        : ((__ISwupper) < 24
            ? (int) ((1UL << (__ISwupper)) >> 8)
            : (int) ((1UL << (__ISwupper)) >> 24)))),
};
---

--


More information about the Digitalmars-d-bugs mailing list