]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/test-vs-cfg-test.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[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() {}