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