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
Handle symbol visibility/locality for PIE/PIC
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr42674.c
blob
ae6730c50b0ca2d86867212c8e75d224f45793cf
1
/* PR middle-end/42674 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wreturn-type" } */
4
5
extern
void
bar
(
void
);
6
static int
foo
(
void
)
__attribute__
((
__noreturn__
,
__used__
));
7
8
static int
9
foo
(
void
)
10
{
11
while
(
1
)
12
bar
();
13
}