repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-b.c
blob
b1f15758aa2d78b02ef033cc4629872036dd4501
1
/* { 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
}