Re: [C++ Patch] PR 24449
OK. Jason
[C++ Patch] PR 24449
Hi, a pretty old and minor issue, but it seems easy to fix. When we check for wrong declarations of ::main in grokfndecl we use processing_template_decl to reject ::main as template and we end up wrongly rejecting: template class Foob { friend int main(); }; (whereas we normally accept: