diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-06-18 15:25:18 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-06-18 15:27:21 +0000 |
commit | 634e6f49101c92ccb83ad3d65f975162582c5dea (patch) | |
tree | b31437ef237a36f204827b99924bdc8814eff9f6 /gcc | |
parent | 72cb486456a39524c6f822327ba8654b0221ff4c (diff) | |
download | gcc-634e6f49101c92ccb83ad3d65f975162582c5dea.zip gcc-634e6f49101c92ccb83ad3d65f975162582c5dea.tar.gz gcc-634e6f49101c92ccb83ad3d65f975162582c5dea.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.target/aarch64/pr94052.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.target/aarch64/pr94052.C b/gcc/testsuite/g++.target/aarch64/pr94052.C index d36c9bd..b3bc3e2 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<int> {}; +class z : public ad<int> {}; struct ae { p af; }; |