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.
This commit is contained in:
Christophe Lyon 2020-06-18 15:25:18 +00:00
parent 72cb486456
commit 634e6f4910
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public:
d x();
d y();
};
class z : ad<int> {};
class z : public ad<int> {};
struct ae {
p af;
};