Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr42674.c
blob: ae6730c50b0ca2d86867212c8e75d224f45793cf [
file
] [
log
] [
blame
]
/* PR middle-end/42674 */
/* { dg-do compile } */
/* { dg-options "-Wreturn-type" } */
extern
void
bar
(
void
);
static
int
foo
(
void
)
__attribute__
((
__noreturn__
,
__used__
));
static
int
foo
(
void
)
{
while
(
1
)
bar
();
}