Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
gcc.dg
/
special
/
weak-1.c
blob: ccf2b087a94366d5385a2d89765c7214428d9cf9 [
file
] [
log
] [
blame
]
/* { dg-do run } */
int
foo
(
void
)
__attribute__
((
weak
));
int
foo
(
void
)
{
return
0
;
}
int
main
(
void
)
{
if
(
foo
())
exit
(
0
);
else
abort
();
}