...
> static void f();
>   static void f();
>   template<typename T>
>   static void g() {
>     f();
>   }
>   static void f() {
>   }
>   void h() {
>     g<int>();
>   }
>
> the call to f refers to the second decl, but it is only marked used at
> the end of the translation unit during instantiation, after the third
> f decl has been linked in.

An rebased patch is attached. Is it OK?

Cheers,
Rafael

Attachment: t.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to