projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
c++: private inheritance access diagnostics fix [PR17314]
[gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility8.C
diff --git
a/gcc/testsuite/g++.old-deja/g++.brendan/visibility8.C
b/gcc/testsuite/g++.old-deja/g++.brendan/visibility8.C
index 3c443afe67854cebab0ef072ee75c4fb3f2aad71..c165b0874a05edba8c78f658061cd27f829401c6 100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.brendan/visibility8.C
+++ b/
gcc/testsuite/g++.old-deja/g++.brendan/visibility8.C
@@
-5,9
+5,9
@@
class foo
{
public:
- static int y;
// { dg-message "" } private
+ static int y;
};
-class foo1 : private foo
+class foo1 : private foo
// { dg-message "" } private
{ };
class foo2 : public foo1
{ public: