[Issue 22182] importC: Error: expression expected, not `)` when casting pointer with redundant parens.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 10 07:06:46 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22182

--- Comment #1 from dave287091 at gmail.com ---
Not sure if related, but this also fails to compile:

int main(){
    int x = 0;
    return (int)(x);
}

--


More information about the Digitalmars-d-bugs mailing list