☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
cfg-core2.rs
☽
☼
gcc/testsuite/rust/compile/cfg-core2.rs
code
plain
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
}