https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115670

--- Comment #4 from Federico Kircheis <federico at kircheis dot it> ---
Sorry, I've posted the wrong link in the previous reply, this is the correct
one

https://godbolt.org/z/nhrM46ajs

Also 


~~~~
struct s2{
    s i; //s is in anonymous namespace
};

s2 foo6(){
    return {};
}
~~~~

does not warn with `-Wunused-function`

Reply via email to