☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
cfg3.rs
☽
☼
gcc/testsuite/rust/compile/cfg3.rs
code
plain
raw
1
// { dg-additional-options "-w -frust-cfg=A -frust-cfg=B" }
2
struct Foo;
3
impl Foo {
4
#[cfg(all(A, B))]
5
fn test(&self) {}
6
}
7
8
fn main() {
9
let a = Foo;
10
a.test();
11
}