genode/repos/libports/src/test/spark/main.adb
Alexander Senier 5ccae43552 Rename Ada runtime to SPARK runtime
The minimal-footprint Ada runtime for implementing library-like
functionality in SPARK is now called "spark" runtime.

The full Ada runtime for entire components written in Ada and using the
libc as glue to the underlying system will move to the world repository
as "ada" runtime.

Issue #3144
2019-02-19 11:08:17 +01:00

26 lines
377 B
Ada

--
-- \brief Ada test program
-- \author Norman Feske
-- \date 2009-09-23
--
with add_package;
--
-- Main program
--
procedure main is
result : Integer;
--
-- Declarations of external C functions
--
procedure ext_c_print_int(a : Integer);
pragma import(C, ext_c_print_int, "print_int");
begin
add_package.Add(13, 14, result);
ext_c_print_int(result);
end main;