text
stringlengths
0
234
ada_main'Elab_Body;
Default_Secondary_Stack_Size := System.Parameters.Runtime_Default_Sec_Stack_Size;
Binder_Sec_Stacks_Count := 1;
Default_Sized_SS_Pool := Sec_Default_Sized_Stacks'Address;
E78 := E78 + 1;
Cortex_M.Nvic'Elab_Spec;
E76 := E76 + 1;
E70 := E70 + 1;
E28 := E28 + 1;
Nrf.Interrupts'Elab_Body;
E72 := E72 + 1;
E34 := E34 + 1;
E37 := E37 + 1;
E58 := E58 + 1;
E56 := E56 + 1;
E41 := E41 + 1;
E44 := E44 + 1;
E48 := E48 + 1;
Nrf.Device'Elab_Spec;
Nrf.Device'Elab_Body;
E16 := E16 + 1;
NRF52_DK.LEDS'ELAB_BODY;
E81 := E81 + 1;
NRF52_DK.TIME'ELAB_BODY;
E54 := E54 + 1;
NRF52_DK.BUTTONS'ELAB_BODY;
E52 := E52 + 1;
end adainit;
procedure Ada_Main_Program;
pragma Import (Ada, Ada_Main_Program, "_ada_main");
procedure main is
Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address;
pragma Volatile (Ensure_Reference);
begin
adainit;
Ada_Main_Program;
Function Definition: procedure Test is
Function Body: begin
for I in 1 .. 10 loop
I := 3;
end loop;
Function Definition: procedure Test is
Function Body: procedure P(A, A: integer) is begin New_Line; end;
begin
P(0,1);
Function Definition: procedure Test is
Function Body: type R is record A, B: Character; end record;
X: R;
function F return R is
begin
return X;
Function Definition: procedure Test is
Function Body: X : Integer;
begin
X := 'a';
Function Definition: procedure Test is
Function Body: type R is record A, B: Character; end record;
X: R;
function F return R is
begin
return X;
Function Definition: procedure Test is
Function Body: type R is record Foo: R; end record;
begin
New_Line;
Function Definition: procedure Test is
Function Body: procedure P(X: Integer) is begin X := 0; end;
begin
P(42);
Function Definition: procedure Test is
Function Body: function F(X: Integer) return integer is begin X:= 1; return 0; end;
begin
if F(42) = 0 then new_line; end if;
Function Definition: procedure Test is
Function Body: type R is record A: Integer; end record;
X : R;
begin
X.A := 'a';
Function Definition: procedure Test is
Function Body: function F(A: integer; A: character) return integer is begin return 0; end;
begin
New_Line;
Function Definition: procedure Test is