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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility9.C
blob
963bc2bafa3ddab5f120bbc72db555b33cfd6afd
1
// { dg-do assemble }
2
// GROUPS passed visibility
3
class A {
4
public:
5
void aMethod(void) {};// { dg-error "" } .*
6
};
7
8
class AA : A { };
9
10
class B {
11
public:
12
void thisMethod() {
13
AA ana;
14
ana.aMethod();// { dg-error "" } .*
15
}
16
};