www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13361] New: Empty UDA accepted

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

          Issue ID: 13361
           Summary: Empty UDA accepted
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: blah38621 gmail.com

DMD currently accepts the following code, which is completely and utterly 
useless:

struct A
{
     ()
    int b;
}

--
Aug 22 2014