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:
parent
72cb486456
commit
634e6f4910
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
d x();
|
||||
d y();
|
||||
};
|
||||
class z : ad<int> {};
|
||||
class z : public ad<int> {};
|
||||
struct ae {
|
||||
p af;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue