Can the semantics of a translation unit depend on a function declaration that is never used?
Can the semantics of a well-formed C++ translation unit depend on the
presence of a function or function template declaration that is never
used? By “used”, I mean it is selected by overload resolution, is
implicitly or explicitly specialized (if a template), or is a definition
and has external linkage.