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

--- Comment #2 from Jason Liam <jlame646 at gmail dot com> ---
Note that if `child.hh` is included in multiple TUs, then the program will have
UB NDR as in each TU as the template argument in `Base<hello>` is a pointer to
an entity with internal linkage meaning in each TU it will refer to a different
entity local to that TU.

Reply via email to