instantiate11.C
386 Bytes
-
re PR c++/42608 (Undefined reference not reported in case of explicit template instantiation) · 5b1cbe14
PR c++/42608 * varasm.c (declare_weak): Add weak attribute to decl if it doesn't have one already. (assemble_external): Only add decls to weak_decls if they also have weak attribute. * g++.dg/template/instantiate11.C: New test. From-SVN: r155919
Jakub Jelinek committed