Sign in
chromium
/
native_client
/
nacl-toolchain
/
cc3d67a9abb3eceb0d79d5369b40b41f67e2474b
/
.
/
gcc
/
gcc
/
testsuite
/
gcc.dg
/
special
/
weak-2.c
blob: b93a8ef9a529f10f781adbe2f486dea890ba0730 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-require-weak "" } */
/* { dg-additional-sources "weak-2a.c weak-2b.c" } */
#include
<stdlib.h>
extern
int
foo
(
void
);
int
main
(
void
)
{
if
(
foo
())
exit
(
0
);
else
abort
();
}