aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorAdam Butcher <adam@jessamine.co.uk>2014-03-17 20:02:26 +0000
committerAdam Butcher <abutcher@gcc.gnu.org>2014-03-17 20:02:26 +0000
commite0672441623392903e5cc34bc22116bbd01dfeb2 (patch)
tree5450646a5e8452e3dfb7f016d866c6aa8a69e4f0 /gcc/builtins.c
parentc66f2ba1ba6bf0b3ca6b092ee964461d6c7bb93f (diff)
downloadgcc-e0672441623392903e5cc34bc22116bbd01dfeb2.zip
gcc-e0672441623392903e5cc34bc22116bbd01dfeb2.tar.gz
gcc-e0672441623392903e5cc34bc22116bbd01dfeb2.tar.bz2
re PR c++/60390 ([c++1y] ICE with declaring function with auto parameter as friend)
Fix PR c++/60390 PR c++/60390 * parser.c (cp_parser_member_declaration): Don't allow finish_fully_implicit_template to consider friend declarations to be class member templates. (synthesize_implicit_template_parm): Handling winding back through class scope to the class being defined in order to inject a template argument list. PR c++/60390 * g++.dg/cpp1y/pr60390.C: New testcase. From-SVN: r208625
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions