friend13.C
252 Bytes
-
PR c++/90572 - wrong disambiguation in friend declaration. · c3b2fdf9
* parser.c (cp_parser_constructor_declarator_p): Don't allow missing typename for friend declarations. * g++.dg/cpp2a/typename16.C: New test. * g++.dg/parse/friend13.C: New test. From-SVN: r271619
Marek Polacek committed