Improve diagnostic for forgotten ().
authorJason Merrill <jason@redhat.com>
Fri, 13 May 2016 19:17:47 +0000 (15:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 May 2016 19:17:47 +0000 (15:17 -0400)
commit827e5d3f706ff07400025488c76e1ad7b3300d83
tree6ea43c9d85b94e824f8c1b1e8df714cd5086d6a2
parenta278aa17f4e95fb96762b75b8b75a6190ec95ac1
Improve diagnostic for forgotten ().

* parser.c (cp_parser_postfix_dot_deref_expression): Use
complete_type_or_else for unknown_type_node, too.

From-SVN: r236220
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/gomp/udr-4.C
gcc/testsuite/g++.dg/parse/dot1.C
gcc/testsuite/g++.dg/template/pseudodtor3.C