Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
gcc.dg
/
special
/
alias-1.c
blob: d58393179a87ef19735f73852baa764e99a21e06 [
file
] [
log
] [
blame
]
/* { dg-do link } */
#include
<stdlib.h>
extern
int
foo
(
void
)
__attribute__
((
alias
(
"bar"
)));
int
bar
(
void
)
{
return
1
;
}
int
main
(
void
)
{
if
(
foo
())
exit
(
0
);
else
abort
();
}