]> git.lizzy.rs Git - rust.git/blob - src/test/ui/crt-static-off-works.rs
Detect pub fn attr wrong order like `async pub`
[rust.git] / src / test / ui / crt-static-off-works.rs
1 // run-pass
2
3 #![allow(stable_features)]
4 // compile-flags:-C target-feature=-crt-static -Z unstable-options
5 // ignore-musl - requires changing the linker which is hard
6
7 #![feature(cfg_target_feature)]
8
9 #[cfg(not(target_feature = "crt-static"))]
10 fn main() {}