]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/57532 (operator& broken when used on rvalues)
authorJason Merrill <jason@redhat.com>
Tue, 9 Jul 2013 17:56:14 +0000 (13:56 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 Jul 2013 17:56:14 +0000 (13:56 -0400)
commit9a3970ddfc50ed831d621c77a0b2157700302fa8
treeba1da8b5532646a55252bb8646a92dd96c5950a1
parentcb5f47b639cda6c98d7def5e1f601e0cbc93da7d
re PR c++/57532 (operator& broken when used on rvalues)

PR c++/57532
* parser.c (cp_parser_ref_qualifier_opt): Don't tentatively parse
a ref-qualifier in C++98 mode.

From-SVN: r200842
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/parse/ref-qual2.C [new file with mode: 0644]