14 #![feature(target_feature)]
16 #[target_feature = "+sse2"]
17 //~^ ERROR: must be of the form
18 #[target_feature(enable = "foo")]
19 //~^ ERROR: not valid for this target
20 #[target_feature(bar)]
21 //~^ ERROR: only accepts sub-keys
22 #[target_feature(disable = "baz")]
23 //~^ ERROR: only accepts sub-keys
26 #[target_feature(enable = "sse2")]
27 //~^ ERROR: can only be applied to `unsafe` function
30 #[target_feature(enable = "sse2")]
31 //~^ ERROR: should be applied to a function
35 //~^ ERROR: cannot use #[inline(always)]
36 #[target_feature(enable = "sse2")]