From: Christophe Lyon Date: Thu, 18 Jun 2020 15:25:18 +0000 (+0000) Subject: Fix use of inaccessible member in pr94052.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=634e6f49101c92ccb83ad3d65f975162582c5dea;p=gcc.git Fix use of inaccessible member in pr94052.C The recent PR41437 fix exposed a latent use of an inaccessible member in the below testcase. gcc/testsuite/ChangeLog: * g++.target/aarch64/pr94052.C: Give z::ad public access. --- diff --git a/gcc/testsuite/g++.target/aarch64/pr94052.C b/gcc/testsuite/g++.target/aarch64/pr94052.C index d36c9bdc158..b3bc3e24682 100644 --- a/gcc/testsuite/g++.target/aarch64/pr94052.C +++ b/gcc/testsuite/g++.target/aarch64/pr94052.C @@ -26,7 +26,7 @@ public: d x(); d y(); }; -class z : ad {}; +class z : public ad {}; struct ae { p af; };