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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr47278-2.c
blob
0c700d19612e90b025c0db5bbeeebc46c829d83c
1
/* { dg-require-visibility "" } */
2
3
extern
void
abort
(
void
);
4
5
int
__attribute__
((
weak
,
visibility
(
"hidden"
)))
foo
(
void
)
6
{
7
return
0
;
8
}
9
10
int
main
()
11
{
12
if
(
foo
() !=
1
)
13
abort
();
14
return
0
;
15
}