rust/tests/run-make/test-harness/test-ignore-cfg.rs

8 lines
126 B
Rust

#[test]
#[cfg_attr(ignorecfg, ignore)]
fn shouldignore() {}
#[test]
#[cfg_attr(noignorecfg, ignore)]
fn shouldnotignore() {}