PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gnat.dg / stack_usage5.adb
blob55d0f13e1fa64d0196d90b00444f748ac8460331
1 -- { dg-do compile }
2 -- { dg-options "-Wstack-usage=512" }
4 procedure Stack_Usage5 (C : Character) is
6 S : String (1 .. 300);
8 procedure Set is
9 begin
10 S (1) := C;
11 end;
13 begin
14 Set;
15 end;