Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.dg
/
attr_noplt1.d
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
();
}