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
Revert DECL_USER_ALIGN part of r241959
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
visibility-22.c
blob
e2b78d1c7fdedb8e91811b9b370089f4711e4e96
1
/* PR target/32219 */
2
/* { dg-do run } */
3
/* { dg-require-visibility "" } */
4
/* { dg-require-effective-target weak_undefined } */
5
/* { dg-options "-O2 -fPIC" { target fpic } } */
6
7
extern
void
foo
()
__attribute__
((
weak
,
visibility
(
"hidden"
)));
8
int
9
main
()
10
{
11
if
(
foo
)
12
foo
();
13
return
0
;
14
}