[Issue 22887] ImportC: typedef enum fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 22 16:42:38 UTC 2022


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

duser at neet.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |duser at neet.fi

--- Comment #5 from duser at neet.fi ---
here's a similar one that gcc and clang accept:

enum A { a };
typedef enum A B;

maybe this is what the issue submitter meant?

glibc headers have two instances of this pattern with the enum defined before
the typedef

--


More information about the Digitalmars-d-bugs mailing list