Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / ghost4.adb
blob884c1e61cc5d7f50628f6c2dd8dda5c70a65a473
1 pragma Restrictions (No_Secondary_Stack);
3 procedure Ghost4 is
5 procedure Dummy with Ghost is
6 function Slice (S : String) return String is
7 (S (S'First .. S'First + 3));
9 X : String := Slice ("hello");
10 begin
11 null;
12 end Dummy;
13 begin
14 Dummy;
15 end Ghost4;