[Issue 22928] New: importC: array does not have a boolean value
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 25 12:09:54 UTC 2022
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 at puremagic.com
Reporter: duser at neet.fi
CC: duser at neet.fi
void fn()
{
char cs[1];
if (cs) ;
}
Error: expression `cs` of type `char[1]` does not have a boolean value
--
More information about the Digitalmars-d-bugs
mailing list