1 // This checks that the attribute validation ICE in issue #105594 doesn't
4 // ignore-thumbv8m.base
5 #![feature(cmse_nonsecure_entry)]
9 #[track_caller] //~ ERROR attribute should be applied to a function
12 #[cmse_nonsecure_entry] //~ ERROR attribute should be applied to a function
13 static _B: () = (); //~| ERROR #[cmse_nonsecure_entry]` is only valid for targets