parser.c
1.21 MB
-
re PR c++/89875 (invalid typeof reference to a member of an incomplete struct… · 824e57cb
re PR c++/89875 (invalid typeof reference to a member of an incomplete struct accepted at function scope) /cp 2019-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/89875 * parser.c (cp_parser_sizeof_operand): When the type-id production did not work out commit to the tentative parse. /testsuite 2019-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/89875 * g++.dg/cpp0x/decltype-pr66548.C: Remove xfail. * g++.dg/template/sizeof-template-argument.C: Adjust expected error. From-SVN: r271746
Paolo Carlini committed