Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
ext
/
visibility
/
visibility-5.C
blob: 592529e665d6f65d323ed12060566e340639c255 [
file
] [
log
] [
blame
]
/* Test visibility attribute on definition of a function that has
already had a forward declaration. */
/* { dg-require-visibility "" }
/* { dg-final { scan-hidden "_Z3foov" } } */
void
foo
();
void
__attribute__
((
visibility
(
"hidden"
)))
foo
()
{
}