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

--- Comment #3 from Iain Buclaw <[email protected]> ---
(In reply to Iain Buclaw from comment #2)
> Removing `extern` works around the error.
Unless you use K&R style, which also triggers the error.
---
void func(const char *str);

void func(str)
    const char *str;
{
}

void func2()
{
    func("test");
}

--

Reply via email to