Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
alias-3.c
blob: 3dc25a91c49adc3285418ce6cfb76b22d19c176f [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-require-alias "" } */
/* { dg-options "" } */
extern
int
foo
();
int
baz
()
{
return
foo
();
}
static
inline
int
bar
()
__attribute__
((
alias
(
"foo"
)));
/* { dg-error "aliased to" } */
int
main
()
{
return
bar
();
}