www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21979] New: importC: Error: '{ initializer-list }' is not

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

          Issue ID: 21979
           Summary: importC: Error: '{ initializer-list }' is not
                    implemented
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

When compiling this code.
---
int test()
{
  typedef struct { int a; } mystruct;
  mystruct var = { 42 };
}

--
May 26