www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21948] New: importC: Support declarating local variables of

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

          Issue ID: 21948
           Summary: importC: Support declarating local variables of
                    typedef types
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

This does not compile.
--
typedef int myint;
void fun()
{   
  myint var = 12;
}

--
May 21