2019-09-26 11:00:53 +01:00
|
|
|
// This test checks that all expected errors occur when there are multiple invalid attributes
|
|
|
|
|
// on an item.
|
|
|
|
|
|
|
|
|
|
#[inline]
|
2025-08-09 20:41:01 +02:00
|
|
|
//~^ ERROR attribute cannot be used on
|
2019-09-26 11:00:53 +01:00
|
|
|
#[target_feature(enable = "sse2")]
|
2025-08-09 20:41:01 +02:00
|
|
|
//~^ ERROR attribute cannot be used on
|
2019-09-26 11:00:53 +01:00
|
|
|
const FOO: u8 = 0;
|
|
|
|
|
|
|
|
|
|
fn main() { }
|