summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/size_attribute.adb
blob: 25642e0b0aad86413b92780ba62d73218c7d1d52 (plain)
1
2
3
4
5
6
7
8
-- PR middle-end/35823
-- { dg-do compile ]

procedure Size_Attribute (Arg : in String) is
   Size : constant Natural := Arg'Size;
begin
   null;
end;