[ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result
[official-gcc.git] / gcc / testsuite / gcc.target / ia64 / visibility-2.c
blob895ef6d918bb24043237d290b3b1253821e24bb3
1 /* Test visibility attribute. */
2 /* { dg-do link { target ia64*-*-linux* } } */
3 /* { dg-options "-O2 -fpic" } */
5 int foo (int x);
6 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
7 int bar (int x)
9 return x;
12 int main ()
14 return 0;