aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-05-25 14:39:12 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-05-25 14:39:12 +0000
commitc3b2fdf9f82f020edf22422b5e0dd3fbdf33267f (patch)
treee40f81f4992a387874f77b21129761b52fd8f188 /libgo/go
parente266148f697d9316b696ac6ce26cda44afc49dfd (diff)
downloadgcc-c3b2fdf9f82f020edf22422b5e0dd3fbdf33267f.zip
gcc-c3b2fdf9f82f020edf22422b5e0dd3fbdf33267f.tar.gz
gcc-c3b2fdf9f82f020edf22422b5e0dd3fbdf33267f.tar.bz2
PR c++/90572 - wrong disambiguation in friend declaration.
* 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
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions