OSDN Git Service

* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / ia64-visibility-2.c
1 /* Test visibility attribute.  */
2 /* { dg-do link { target ia64*-*-linux* } } */
3 /* { dg-options "-O2 -fpic" } */
4
5 int foo (int x);
6 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
7 int bar (int x)
8 {
9   return x;
10 }
11
12 int main ()
13 {
14   return 0;
15 }