]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/test-vs-cfg-test.rs
Merge commit 'b52fb5234cd7c11ecfae51897a6f7fa52e8777fc' into clippyup
[rust.git] / src / test / ui / test-attrs / test-vs-cfg-test.rs
1 // run-pass
2 // compile-flags: --cfg test
3
4 // Make sure `--cfg test` does not inject test harness
5
6 #[test]
7 fn test() { panic!(); }
8
9 fn main() {}