1 -- { dg-do compile { target arm*-*-* } }
2 -- { dg-options "-mcpu=cortex-m33 -mcmse" }
4 package body Machine_Attr2
is
6 procedure Call
(Proc
: Non_Secure
) is
11 procedure Foo
; -- { dg-warning "only applies to base type" }
12 pragma Machine_Attribute
(Foo
, "cmse_nonsecure_call");
13 procedure Foo
is null;