summaryrefslogtreecommitdiffstats
path: root/src/test/ui/test-attrs/test-vs-cfg-test.rs
blob: cd1cd33c2840b5d28b8384fd6f8f8d3d750f94bc (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// compile-flags: --cfg test

// Make sure `--cfg test` does not inject test harness

#[test]
fn test() { panic!(); }

fn main() {}