re PR c++/60845 (print original type for typedef classes in diagnostics)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 1 Dec 2014 14:58:01 +0000 (14:58 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 1 Dec 2014 14:58:01 +0000 (14:58 +0000)
commit7a1811342e2bf412fa3ad4c023342d4aca47cb54
treeb7ee24cf8f5ce5247df5dc74300c87d86afb9bfb
parent0d0e4a03e98cf8c3dbb1dc1a3ba15d2d9a6a5912
re PR c++/60845 (print original type for typedef classes in diagnostics)

/cp
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60845
* typeck.c (finish_class_member_access_expr): Use %q#T instead of
%qD in error message.

/testsuite
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60845
* g++.dg/parse/error55.C: New.

From-SVN: r218218
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error55.C [new file with mode: 0644]