gcc/cp
[official-gcc.git] / gcc / testsuite / gnat.dg / vect11.ads
blobf3ceac111a1ea5494c013b959e52ff6cf8aafc9e
1 package Vect11 is
3 -- Constrained array types are vectorizable
4 type Sarray is array (1 .. 4) of Float;
5 for Sarray'Alignment use 16;
7 function "+" (X, Y : Sarray) return Sarray;
8 procedure Add (X, Y : Sarray; R : out Sarray);
9 procedure Add (X, Y : not null access Sarray; R : not null access Sarray);
11 end Vect11;