blob: 0b84454b3ff8ba2c3a1f4f535628a0dfe64ce784 [file] [log] [blame]
// { dg-do compile }
import gcc.attributes;
pragma(inline, true)
@weak int func() // { dg-warning "inline function .func. declared weak" }
{
return 0;
}
int parm(@weak int a) // { dg-warning ".weak. attribute ignored" }
{
return a;
}