repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* arm.c (FL_WBUF): Define.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility2.C
blob
74021d58db8eec139d7ebfccc3d1680d22289d8c
1
// { dg-do assemble }
2
// GROUPS passed visibility
3
class X {
4
void g (int); // { dg-error "" } private
5
public:
6
void g (double);
7
};
8
9
class Y : public X { void f() { g (1); } }; // { dg-error "" } private
10