summaryrefslogtreecommitdiffstats
path: root/tests/ui/cmse-nonsecure/cmse-nonsecure-entry/issue-83475.rs
blob: a839406cd0aaf9103cf57c0a0d2961ed7eb44f45 (plain)
1
2
3
4
5
6
7
8
9
// 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