Debian Codegraph @

gcc/testsuite/rust/compile/torture/cfg_attr.rs

raw
1 mod fake {} // Add one line so gccrs doesn't believe we're parsing a shebang
2
3 #[cfg_attr(feature = "somefeature", attribute = "someattr")]
4 struct Feature;
5 // { dg-warning "struct is never constructed" "" { target *-*-* } .-1 }
6
7 fn main() {}