digitalmars.D.bugs - [Issue 23044] New: importC: comma expression with function call
- d-bugmail puremagic.com (27/27) Apr 21 2022 https://issues.dlang.org/show_bug.cgi?id=23044
https://issues.dlang.org/show_bug.cgi?id=23044 Issue ID: 23044 Summary: importC: comma expression with function call parsed as declaration 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 other(int x){} void fn() { int x; other(x), x = 1; } test.c(5): Error: declaration `x` is already defined test.c(4): `variable` `x` is defined here test.c(5): Error: declaration `x` is already defined test.c(4): `variable` `x` is defined here --
Apr 21 2022