[Issue 9921] New: Enum variables of type void should be illegal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 11 09:23:45 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9921

           Summary: Enum variables of type void should be illegal
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2013-04-11 09:23:43 PDT ---
This compiles, but makes no sense.

enum X : void;

enum Z : void { Y };


(I already have a patch for this).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list