August 23, 2021 [Issue 22233] New: importC: Error: expression expected, not `)` with parenthesized function call | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation