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
/
attr-weak-hidden-1.c
blob
b8d75d9c7caa850e1142a9946b0e81bfb986fcf2
1
/* { dg-do run } */
2
/* { dg-require-weak "" } */
3
/* { dg-require-visibility "" } */
4
/* { dg-options "-O2" } */
5
/* { dg-additional-sources "attr-weak-hidden-1a.c" } */
6
int
__attribute__
((
visibility
(
"hidden"
)))
foo
(
void
) {
return
0
; }