diff options
Diffstat (limited to 'tests/run-make-fulldeps/test-harness/test-ignore-cfg.rs')
-rw-r--r-- | tests/run-make-fulldeps/test-harness/test-ignore-cfg.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/test-harness/test-ignore-cfg.rs b/tests/run-make-fulldeps/test-harness/test-ignore-cfg.rs new file mode 100644 index 000000000..31ef131f2 --- /dev/null +++ b/tests/run-make-fulldeps/test-harness/test-ignore-cfg.rs @@ -0,0 +1,9 @@ +#[test] +#[cfg_attr(ignorecfg, ignore)] +fn shouldignore() { +} + +#[test] +#[cfg_attr(noignorecfg, ignore)] +fn shouldnotignore() { +} |