blob: 12e144560cb737f388a78d8b8417b6015191e5e5 [file] [log] [blame]
/* PR target/77587 */
/* { dg-do compile } */
/* { dg-require-alias "" } */
/* { dg-require-weak-override "" } */
void
foo (long x, long y, long z)
{
}
void bar (long x, long y, long z) __attribute__ ((weak, alias ("foo")));
void
baz (long x, long y, long z)
{
bar (0, 0, 0);
}
int
main ()
{
baz (0, 0, 0);
return 0;
}