import core.stdc.config;
enum E : cpp_long;
enum F : cpp_longlong;
> Error: enum test.E unable to resolve forward reference in definition
Comment #1 by dlang-bot — 2021-03-18T04:39:52Z
@thewilsonator created dlang/dmd pull request #12284 "Fix issue 20599 - cpp_long as enum type doesn't work" fixing this issue:
- Fix issue 20599 - cpp_long as enum type doesn't work
https://github.com/dlang/dmd/pull/12284
Comment #2 by dlang-bot — 2021-03-18T13:17:31Z
dlang/dmd pull request #12284 "Fix issue 20599 - cpp_long as enum type doesn't work" was merged into master:
- 4e53eb00546e78c49e581ff910f02a4ea418cb5e by Nicholas Lindsay Wilson:
Fix issue 20599 - cpp_long as enum type doesn't work
https://github.com/dlang/dmd/pull/12284