Let\'s consider some synthetic but expressive example. Suppose we have Header.h:
Header1.h
#include
// Define generic version
templ
The compiler is silent, because it's not required to emit anything by [basic.def.odr/4]:
Every program shall contain exactly one definition of every non-inline function or variable that is odr-used in that program outside of a discarded statement; no diagnostic required. The definition can appear explicitly in the program, it can be found in the standard or a user-defined library, or (when appropriate) it is implicitly defined (see [class.ctor], [class.dtor] and [class.copy]). An inline function or variable shall be defined in every translation unit in which it is odr-used outside of a discarded statement.