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

Iain Buclaw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Iain Buclaw <[email protected]> ---
(In reply to Iain Buclaw from comment #0)
> The parser allows implicit typedefs, which is not valid C.
> ---
> struct STRUCT { void *opaque; };
> STRUCT mystruct;  // Should error.
> ---
This is probably not so easily solvable though, as the error should happen in
the semantic (but the semantic follows D rules!)

The immediate issue should focus on getting `struct S s;` working.

--

Reply via email to