Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / machine_attr2.adb
blobe98a69aefc1ef865e8b9ca5ce9cd7042b1bcfd34
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
7 begin
8 Proc.all;
9 end;
11 procedure Foo; -- { dg-warning "only applies to base type" }
12 pragma Machine_Attribute (Foo, "cmse_nonsecure_call");
13 procedure Foo is null;
15 end Machine_Attr2;