Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / gdc.dg / attr_targetclones1.d
blob287782c370904a049cb47ca456025d103bd48f76
1 // { dg-do compile { target i?86*-*-* x86_64-*-* } }
3 import gcc.attributes;
5 @target_clones("default")
6 int func() // { dg-warning "single .target_clones. attribute is ignored" }
8 return 0;
11 @target_clones("default")
12 int var = 0; // { dg-warning ".target_clones. attribute ignored" }