☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
attr_noplt1.d
☽
☼
gcc/testsuite/gdc.dg/attr_noplt1.d
code
plain
raw
1
// { dg-do compile { target x86_64-*-linux* } }
2
// { dg-options "-O2 -fno-pic" }
3
4
import gcc.attributes;
5
6
@noplt int func();
7
8
@noplt int var = 0; // { dg-warning ".noplt. attribute ignored" }
9
10
int main()
11
{
12
return func();
13
}