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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [visibility-b.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do assemble { target *-*-darwin* } } */
2
 
3
#define __private_extern__ extern __attribute__((visibility ("hidden")))
4
 
5
__private_extern__ int n;
6
 
7
int
8
mach_error_type(int sub)
9
{
10
 if (sub >= n)
11
     return 1;
12
 return 0;
13
}

powered by: WebSVN 2.1.0

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