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
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility
/
fvisibility-inlines-hidden.C
blob
2ee8f0767babbd6d02e0d5c8230baf4b17fcafb5
1
/* Test that -fvisibility-inlines-hidden affects class members. */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-options "-fvisibility-inlines-hidden" } */
5
/* { dg-final { scan-hidden "_ZN3Foo6methodEv" } } */
6
7
class Foo
8
{
9
public:
10
void method() { }
11
};
12
13
int main(void)
14
{
15
Foo f;
16
f.method();
17
return 0;
18
}