www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18459] New: The static array ABI doesn't match the struct ABI

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

          Issue ID: 18459
           Summary: The static array ABI doesn't match the struct ABI
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

Although it is supposed to. For example,

    int[3];
    struct S { int a,b,c; }
    struct T { int[3] a; }

should all be the same when being passed/returned to/from functions.

--
Feb 18 2018