(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ext/
visibility/
overload-1.C
/* 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) 
{ }