PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-20.c
blob5fc7447f0deb8d5edfa1c31a62d935e66bfb7a64
1 /* PR target/39175 */
2 /* { dg-do compile } */
3 /* { dg-require-visibility "" } */
4 /* { dg-options "-O2 -fvisibility=hidden -fpic" { target fpic } } */
6 __attribute__((noinline)) int
7 foo (int x)
9 return x;
12 int foo (int x);
14 int
15 bar (int x)
17 return foo (x);