1 /* PR target/39175 */ 2 /* { dg-do compile } */ 3 /* { dg-require-visibility "" } */ 4 /* { dg-options "-O2 -fvisibility=hidden -fpic" { target fpic } } */ 5 6 __attribute__((noinline)) int foo(int x)7foo (int x) 8 { 9 return x; 10 } 11 12 int foo (int x); 13 14 int bar(int x)15bar (int x) 16 { 17 return foo (x); 18 } 19