PR c++/71568 - SFINAE forming pointer to member function
authorJason Merrill <jason@redhat.com>
Mon, 27 Feb 2017 20:17:17 +0000 (15:17 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 27 Feb 2017 20:17:17 +0000 (15:17 -0500)
commit080384d6057018108dd588b456ed53ec0b752769
treee51fcc04a68be52cef603f16c7c7a67a2695a9ba
parentc8f28a3c7ae87e3114e5789fd3a20e46c3a879f6
PR c++/71568 - SFINAE forming pointer to member function

* init.c (build_offset_ref): Check the return value of
perform_or_defer_access_check.

From-SVN: r245763
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/g++.dg/cpp0x/sfinae58.C [new file with mode: 0644]