digitalmars.D.bugs - [Issue 22928] New: importC: array does not have a boolean value
- d-bugmail puremagic.com (22/22) Mar 25 2022 https://issues.dlang.org/show_bug.cgi?id=22928
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: nobody puremagic.com Reporter: duser neet.fi CC: duser neet.fi void fn() { char cs[1]; if (cs) ; } Error: expression `cs` of type `char[1]` does not have a boolean value --
Mar 25 2022