https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009
--- Comment #6 from Stephan Bergmann <sbergman at redhat dot com> --- (In reply to Martin Liška from comment #5) > Well, I believe the test-case is invalid as one can't have hidden visibility > and then defined S1::f2 in a different translation unit. Why? Isn't hidden visibility just about symbol visibility at the executable/dynamic library level?