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
[ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
ia64
/
visibility-2.c
blob
895ef6d918bb24043237d290b3b1253821e24bb3
1
/* 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
}