]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/target-feature-on-functions.rs
Rollup merge of #65389 - ecstatic-morse:zero-sized-array-no-drop, r=eddyb
[rust.git] / src / test / codegen / target-feature-on-functions.rs
1 // only-x86_64
2 // compile-flags: -C target-feature=+avx
3
4 #![crate_type = "lib"]
5
6 #[no_mangle]
7 pub fn foo() {
8     // CHECK: attributes #0 = { {{.*}}"target-features"="+avx"{{.*}} }
9 }