Debian Codegraph @

gcc/testsuite/gdc.dg/attr_targetclones1.d

raw
1 // { dg-do compile { target i?86*-*-* x86_64-*-* } }
2
3 import gcc.attributes;
4
5 @target_clones("default")
6 int func() // { dg-warning "single .target_clones. attribute is ignored" }
7 {
8 return 0;
9 }
10
11 @target_clones("default")
12 int var = 0; // { dg-warning ".target_clones. attribute ignored" }