compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / noreturn3.ads
blobd830a14910e055b671fa8635cbb2affaa0c34b83
1 package Noreturn3 is
3 Exc1 : Exception;
4 Exc2 : Exception;
5 Exc3 : Exception;
7 type Enum is (One, Two, Three);
9 procedure Raise_Error (E : Enum; ErrorMessage : String);
10 pragma No_Return (Raise_Error);
12 end Noreturn3;