OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/26905
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility
/
warn3.C
1
// Warn when a class member is specified to have greater visibility than
2
// its class.
3
4
// { dg-require-visibility "" }
5
6
struct __attribute ((visibility ("hidden"))) A
7
{
8
__attribute ((visibility ("default"))) void f (); // { dg-warning "visibility" }
9
};
10
11
void A::f() { }