digitalmars.D.bugs - [Issue 22233] New: importC: Error: expression expected, not `)` with
- d-bugmail puremagic.com (24/24) Aug 22 2021 https://issues.dlang.org/show_bug.cgi?id=22233
https://issues.dlang.org/show_bug.cgi?id=22233 Issue ID: 22233 Summary: importC: Error: expression expected, not `)` with parenthesized function call Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: dave287091 gmail.com The following fails to compile: void foo(void){} int main(void){ (foo)(); return 0; } foo.i(3): Error: expression expected, not `)` foo.i(3): Error: found `;` when expecting `)` foo.i(4): Error: found `return` when expecting `;` following statement --
Aug 22 2021