about summary refs log tree commit diff
path: root/src/test/codegen/target-feature-on-functions.rs
blob: d4d39d08b1eaa3de33e1b8308002826885ab7512 (plain)
1
2
3
4
5
6
7
8
9
// only-x86_64
// compile-flags: -C target-feature=+avx

#![crate_type = "lib"]

#[no_mangle]
pub fn foo() {
    // CHECK: attributes #0 = { {{.*}}"target-features"="+avx"{{.*}} }
}