projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0909f5
)
Fix use of inaccessible member in pr85503.C [PR95716]
author
Patrick Palka
<ppalka@redhat.com>
Wed, 17 Jun 2020 13:09:53 +0000
(09:09 -0400)
committer
Patrick Palka
<ppalka@redhat.com>
Wed, 17 Jun 2020 13:09:53 +0000
(09:09 -0400)
The recent PR41437 fix exposed a latent use of an inaccessible member in
the below testcase.
gcc/testsuite/ChangeLog:
PR testsuite/95716
* g++.dg/ext/pr85503.C: Give ai::cv public access.
gcc/testsuite/g++.dg/ext/pr85503.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/ext/pr85503.C
b/gcc/testsuite/g++.dg/ext/pr85503.C
index 7e17943e353f1e08f3e8559e2bfa083fb77c60a8..832952a8774b3e8449929e3314dd1ac790be8fa0 100644
(file)
--- a/
gcc/testsuite/g++.dg/ext/pr85503.C
+++ b/
gcc/testsuite/g++.dg/ext/pr85503.C
@@
-138,6
+138,7
@@
struct ad< ai< cr, ag, ah, cu, ct, cw > > {
};
template < typename, int ag, int ah, int, int, int >
class ai : public af< ai< double, ag, ah > > {
+public:
typedef ai cv;
};
template < typename bk, typename ce, typename cf >