On Sat, 28 Oct 2023, Barnabás Pőcze wrote:
> An external declaration following an inline definition is not redundant
> because it forces the compiler to emit an external definition for the
> function.
> That is,
>
> inline void f(void) { }
> [extern] void f(void);
>
> should not trigger the
>
> redundant redeclaration of ...
>
> warning.This should add a testcase to the testsuite (that fails before and passes after the front-end change is made). -- Joseph S. Myers [email protected]
