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

#![crate_type = "lib"]

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