OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [ia64/] [visibility-2.c] - Blame information for rev 319

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 319 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.