blob: 9be9304800f925a41d9504adc1ee3b3fdeec1f11 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-not "call\[\\t ]*.s.\[\\t ]*.f" } } */
/* { dg-final { scan-assembler-not "call\[\\t ]*.s.\[\\t ]*.g" } } */
extern void f () __attribute__ ((weak));
extern void g () __attribute__ ((weak)) __attribute__ ((noinline));
void g ()
{
}
int main ()
{
f ();
g ();
}