[Issue 21976] importC: enumeration constants rejects conditional expressions in parentheses

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 25 18:34:43 UTC 2021


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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Likewise, this fails to compile:
---
enum constant_expression
{
  ce_first,
  ce_second = (int) ((1UL << (ce_first)) << 24),
};

--


More information about the Digitalmars-d-bugs mailing list