P0704R1 - fixing const-qualified pointers to members
authorJason Merrill <jason@redhat.com>
Tue, 7 Nov 2017 05:30:40 +0000 (00:30 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 7 Nov 2017 05:30:40 +0000 (00:30 -0500)
commit96d155c6968bf7e2eadc61f1a9bbcc0dd5ae899d
tree80ad4800b9dc233c0da9c8423b1b777716d347b2
parent2d041117f1ee47982a2d8a2a9801f2906df2d91f
P0704R1 - fixing const-qualified pointers to members

* typeck2.c (build_m_component_ref): Also accept in lower stds with
a pedwarn.

From-SVN: r254487
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp2a/ptrmem1a.C [new file with mode: 0644]