2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gnat.dg / constant4_pkg.ads
blobf0c6f8ffdcd92bfbf2af9f20f8bda98b9059c42d
1 with Ada.Command_Line; use Ada.Command_Line;
2 with System.Multiprocessors; use System.Multiprocessors;
4 package Constant4_Pkg is
6 Max_CPUs : constant CPU := (if Argument_Count < 2 then Number_Of_CPUs
7 else CPU'Value (Argument (2)));
9 subtype Worker_Id is CPU range 1 .. Max_CPUs;
11 type Counter is range 0 .. 10**18;
13 Steals : array (Worker_Id) of Counter := (others => 0);
15 end Constant4_Pkg;