PR testsuite/86649
[official-gcc.git] / gcc / testsuite / gnat.dg / array24.adb
blobc6974365fed5f2f6ebba7a749b12812df24a5e3d
1 -- { dg-do compile }
2 -- { dg-options "-fdump-tree-optimized" }
4 procedure Array24 (N : Natural) is
5 S : String (1 .. N);
6 pragma Volatile (S);
7 begin
8 S := (others => '0');
9 end;
11 -- { dg-final { scan-tree-dump-not "builtin_unwind_resume" "optimized" } }