blob: 6c68e6b046f03f394a4ace39a4aefd876a7fece5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// This checks that the attribute validation ICE in issue #105594 doesn't
// recur.
//
// ignore-thumbv8m.base
#![feature(cmse_nonsecure_entry)]
fn main() {}
#[track_caller] //~ ERROR attribute should be applied to a function
static _A: () = ();
#[cmse_nonsecure_entry] //~ ERROR attribute should be applied to a function
static _B: () = (); //~| ERROR #[cmse_nonsecure_entry]` is only valid for targets
|