blob: 01be73886e029cb938aca0e24b9e3a528821b1df [file] [log] [blame]
-- { dg-do compile }
-- { dg-options "-O2" }
package body Inline19 is
S : String := "Hello";
protected body P is
function F return String is
begin
return Result : constant String := S do
null;
end return;
end F;
end P;
end Inline19;