Debian Codegraph @

gcc/testsuite/rust/compile/cfg-core2.rs

raw
1 // { dg-additional-options "-frust-cfg=B" }
2
3 #[cfg(not(any(A, B)))]
4 struct Foo0;
5
6 #[cfg(not(any(A, C)))]
7 struct Bar0;
8
9 fn main() {
10 let a = Foo0; // { dg-error "cannot find value" }
11 let a = Bar0;
12 }