rust/tests/ui/cmse-nonsecure/cmse-nonsecure-entry/issue-83475.rs
2023-01-11 09:32:08 +00:00

10 lines
251 B
Rust

// Regression test for the ICE described in #83475.
#![crate_type="lib"]
#![feature(cmse_nonsecure_entry)]
#[cmse_nonsecure_entry]
//~^ ERROR: attribute should be applied to a function definition
struct XEmpty2;
//~^ NOTE: not a function definition