April 17, 2022 [Issue 23028] New: ImportC: found `_Generic` instead of statement. | ||||
|---|---|---|---|---|
| ||||
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. } -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply