summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2396-target_feature-11/feature-gate-target_feature_11.rs
blob: 975d7a1f694c6960933369479a9e60933a026e8f (plain)
1
2
3
4
5
6
// only-x86_64

#[target_feature(enable = "sse2")] //~ ERROR can only be applied to `unsafe` functions
fn foo() {}

fn main() {}