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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [visibility-8.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Test hidden visibility on built-in functions (for libc).  PR 13856.  */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99" } */
4
/* { dg-require-visibility "" } */
5
/* { dg-final { scan-hidden "__GI_fputs_unlocked" } } */
6
 
7
int fputs_unlocked (const char *restrict, int *restrict)
8
   __asm__ ("__GI_fputs_unlocked")
9
   __attribute__ ((visibility ("hidden")));
10
 
11
int
12
fputs_unlocked (str, fp)
13
     const char *str;
14
     int *fp;
15
{
16
}

powered by: WebSVN 2.1.0

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