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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
In PR 92855 we have a similar situation where an inline template function
inherits visibility from the enclosing namespace, while a non-template function
becomes hidden as requested by -fvisibility-inlines-hidden:

namespace N
__attribute__((visibility("default")))
{
    inline void foo() {};
    template<class T>
    inline void bar() {};
}

int main()
{
    N::foo();
    N::bar<void>();
}

Reply via email to