]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/test-vs-cfg-test.rs
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' 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() {}