summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/vect13.ads
blob: 7aeac5e527a6ee27c17caa87cdbbfa904878c11f (plain)
1
2
3
4
5
6
7
8
9
10
package Vect13 is

   -- Constrained array types are vectorizable
   type Sarray is array (1 .. 4) of Float;
   for Sarray'Alignment use 16;

   function "+" (X, Y : Sarray) return Sarray;
   procedure Add (X, Y : Sarray; R : out Sarray);

end Vect13;