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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [visibility-b.c] - Blame information for rev 867

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

Line No. Rev Author Line
1 149 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.