[Issue 24026] New: ImportC: ICE on nested C initializer 2
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Jul  2 21:57:45 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24026
          Issue ID: 24026
           Summary: ImportC: ICE on nested C initializer 2
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: dkorpel at live.nl
Introduced by the fix for issue 23768, https://github.com/dlang/dmd/pull/15344
```C
typedef struct
{
    int type;
} Action;
typedef struct
{
    Action action;
} Entry;
Entry entry = {{ .type = 1 }};
```
This makes the compiler get stuck in an endless loop
--
    
    
More information about the Digitalmars-d-bugs
mailing list