blob: 73a2fb53704e024ac8c9644d33e4edb7eb2ecb18 [file] [log] [blame]
// { dg-do compile { target x86_64-*-linux* } }
// { dg-options "-O2 -fno-pic" }
import gcc.attributes;
@noplt int func();
@noplt int var = 0; // { dg-warning ".noplt. attribute ignored" }
int main()
{
return func();
}