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