OSDN Git Service

6d3e240bab5f1c218f0506bc750a2b4fea67afd9
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gnat.dg / opt20.adb
1 with Ada.Characters.Handling; use Ada.Characters.Handling;
2
3 package body Opt20 is
4
5    type Build_Mode_State is (None, Static, Dynamic, Relocatable);
6
7    procedure Build_Library (For_Project : Integer) is
8       Project_Name : constant String := Get_Name_String (For_Project);
9       The_Build_Mode : Build_Mode_State := None;
10    begin
11       Fail (Project_Name);
12       Write_Str (To_Lower (Build_Mode_State'Image (The_Build_Mode)));
13    end;
14
15 end Opt20;