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
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility7.C
blob
58886d630e413c472da44969884227aba6cc3ccd
1
// { dg-do assemble }
2
// GROUPS passed visibility
3
class X
4
{
5
public:
6
void fn ();// { dg-message "" } .*
7
};
8
class Y : private X
9
{};
10
11
class Unrelated
12
{
13
public:
14
void foo () { Y y; y.fn (); }// { dg-error "" } .*
15
};