Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
attrib5.C
blob: 65c0d6dadcbac17533f2abca4efcfcee81b1ccf1 [
file
] [
log
] [
blame
]
// { dg-do run { xfail i?86-pc-cygwin } }
// Test that attributes weak and alias coexist.
// { dg-require-weak "" }
// { dg-require-alias "" }
extern
"C"
{
void
_f
()
{
}
void
f
()
__attribute__
((
weak
,
alias
(
"_f"
)));
}
int
main
()
{
f
();
}