Summary: Undefined struct and union declarations are not
           Product: D
           Version: 2.041
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Jerry Quinn <> 2010-03-08 21:54:59 PST 
It seems the grammar was updated to permit the following code:

struct Z;

However, there is no documentation on what this does.  Trying dmd 2.041, this
compiles.  However, trying the following (as expected from C/C++):

struct Z;
struct Z {}

gives this error:

junk.d(2): Error: struct junk.Z conflicts with struct junk.Z at junk.d(1)

Something is amiss here.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to