www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13987] New: Invalid struct segfaults

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

          Issue ID: 13987
           Summary: Invalid struct segfaults
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: erictsau gmail.com

struct S {}
S s = [{}];

causes a Segmentation fault (core dumped)
error when attempting to compile with dmd.

--
Jan 15 2015