From 634e6f49101c92ccb83ad3d65f975162582c5dea Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Thu, 18 Jun 2020 15:25:18 +0000 Subject: [PATCH] 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. --- gcc/testsuite/g++.target/aarch64/pr94052.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.30.2