digitalmars.D.bugs - [Issue 23028] New: ImportC: found `_Generic` instead of statement.
- d-bugmail puremagic.com (21/21) Apr 17 2022 https://issues.dlang.org/show_bug.cgi?id=23028
https://issues.dlang.org/show_bug.cgi?id=23028 Issue ID: 23028 Summary: ImportC: found `_Generic` instead of statement. 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: dave287091 gmail.com The following C code fails to compile: int puts(const char*); int main(){ _Generic(1, int:puts("int"), float:puts("float")); // found `_Generic` instead of statement. } --
Apr 17 2022