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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
attr-weak-hidden-1a.c
blob
f6d3e9eae4b1b7679163f134a2debd87760a6828
1
/* { dg-require-weak "" } */
2
/* { dg-require-visibility "" } */
3
void
abort
(
void
);
4
int
__attribute__
((
weak
,
visibility
(
"hidden"
)))
foo
(
void
) {
return
1
; }
5
int
6
main
(
void
)
7
{
8
if
(
foo
())
9
abort
();
10
return
0
;
11
}