blob: d841c53fb1ca1b248090a2a8f7d5b2f68ba752bc (
plain)
1
2
3
4
5
6
7
8
9
|
/* Test that visibility of function parameters propagates to an undecorated
function. */
/* { dg-require-visibility "" }
/* { dg-final { scan-hidden "_Z3fooP8a_struct" } } */
struct __attribute__((visibility("hidden"))) a_struct;
void foo(a_struct * p)
{ }
|