summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/vect12.ads
blob: a600d0fa5dcebd0156287f9ce9775db2ea3373f9 (plain)
1
2
3
4
5
6
7
8
9
10
package Vect12 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 Vect12;