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

          Issue ID: 22928
           Summary: importC: array does not have a boolean value
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ImportC, rejects-valid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

void fn()
{ 
        char cs[1];
        if (cs) ;
}

Error: expression `cs` of type `char[1]` does not have a boolean value

--

Reply via email to