www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22063] New: importC: Error: undefined identifier 'var' with

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

          Issue ID: 22063
           Summary: importC: Error: undefined identifier 'var' with
                    pointer-to-typedef type
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Reduced test:
---
typedef struct
{
    int field;
} Stype;

int main()
{
    Stype *var;
}

--
Jun 21