re PR c++/42687 (The prevention of ADL with the help of parentheses doesn't work)
authorJason Merrill <jason@redhat.com>
Wed, 27 Apr 2011 05:17:20 +0000 (01:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 27 Apr 2011 05:17:20 +0000 (01:17 -0400)
commita4bd198ceeb0445d62574073a8326312a284a16b
treed337fd4219b2fd8ae43096e87520722f232b4c5c
parenta0dc5e4ac9d0263c8c2d2d3f4029212833a26f6a
re PR c++/42687 (The prevention of ADL with the help of parentheses doesn't work)

PR c++/42687
* parser.c (cp_parser_primary_expression): Set *idk to
CP_ID_KIND_NONE for a parenthesized identifier.

From-SVN: r173007
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/koenig13.C [new file with mode: 0644]