repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility
/
fvisibility.C
blob
4358d25a960f29bcc37c2a8b3bb7b1cdd6162ef9
1
/* Test that -fvisibility affects class members. */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-options "-fvisibility=hidden" } */
5
/* { dg-final { scan-hidden "_ZN3Foo6methodEv" } } */
6
7
class Foo
8
{
9
void method();
10
};
11
12
void Foo::method() { }