compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / addr5.adb
blobe331dfdc09eeac60fd3fa951308f5784ad54a3d9
1 -- { dg-do compile }
2 -- { dg-options "-g" }
4 procedure Addr5 (Len : Integer) is
5 S : aliased String (1 .. Len) := (others => ' ');
6 C : Character;
7 for C'Address use S'Address;
8 begin
9 null;
10 end;