Summary: align() refused for struct defined inside functions
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-12-04 09:33:26 PST ---
A problem found by GrahamC:

D2 code, DMD 2.057head:

align(1) struct Foo {} // OK
unittest {
    align(1) struct Bar {} // found 'align' instead of statement
void main() {
    align(1) struct Spam {} // found 'align' instead of statement

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

Reply via email to