Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion courses/gnatsas/labs/check_040_lkql/default.gpr
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
project Default is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Main use ("main.adb");
end Default;
3 changes: 3 additions & 0 deletions courses/gnatsas/labs/check_040_lkql/src/test_pkg.adb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ package body Test_Pkg is
function Supplier6 (X : Derived_T) return Derived_T is
(X);

function Supplier7 (X : Non_Integer_T) return Non_Integer_T is
(X);

end Test_Pkg;
3 changes: 3 additions & 0 deletions courses/gnatsas/labs/check_040_lkql/src/test_pkg.ads
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ package Test_Pkg is
type Generic_Instantiaion_T is range 0 .. 100;
package IO is new Ada.Text_IO.Integer_IO (Generic_Instantiaion_T);

type Non_Integer_T is digits 6 range 0.0 .. 100.0;
function Supplier7 (X : Non_Integer_T) return Non_Integer_T;

end Test_Pkg;
Loading