re PR c++/24560 ("insufficient contextual information to determine type" is not a...
authorMark Mitchell <mark@codesourcery.com>
Wed, 2 Nov 2005 23:36:05 +0000 (23:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 2 Nov 2005 23:36:05 +0000 (23:36 +0000)
commite4ba253407edf4067221ca445fc41abfc0610827
treee203341615c2dd042f26ced48f1ce60d7852d3d7
parentfb530c72edd80bfdb02dd3a2f17e8df61b097859
re PR c++/24560 ("insufficient contextual information to determine type" is not a helpful error message)

PR c++/24560
* parser.c (cp_parser_postfix_dot_deref_expression): Improve error
message for use of overloaded functions on LHS of "." operator.
PR c++/24560
* g++.dg/parse/dot1.C: New test.

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