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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr25795.c
blob
decbe54e39f231c3a6214d4ae8a4a9757d749340
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fwhole-program" } */
3
/* { dg-final { scan-assembler "mystr" } } */
4
5
6
extern
const char
*
mystr
;
/* normally in a header */
7
const char
*
mystr
__attribute__
((
externally_visible
));
8
main
()
9
{
10
}