diff gcc/testsuite/ada/acats/support/macrodef.adb @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gcc/testsuite/ada/acats/support/macrodef.adb	Fri Oct 27 22:46:09 2017 +0900
@@ -0,0 +1,11 @@
+with Ada.Text_IO;
+with System;
+procedure Macrodef is
+begin
+   Ada.Text_IO.Put_Line ("Integer'First = " & Integer'Image (Integer'First));
+   Ada.Text_IO.Put_Line ("Integer'Last = " & Integer'Image (Integer'Last));
+   Ada.Text_IO.Put_Line ("System.Min_Int = " & Long_Long_Integer'Image (System.Min_Int));
+   Ada.Text_IO.Put_Line ("System.Max_Int = " & Long_Long_Integer'Image (System.Max_Int));
+   Ada.Text_IO.Put_Line ("Ada.Text_IO.Count'Last = " & Ada.Text_IO.Count'Image (Ada.Text_IO.Count'Last));
+   Ada.Text_IO.Put_Line ("Ada.Text_IO.Field'Last = " & Ada.Text_IO.Field'Image (Ada.Text_IO.Field'Last));
+end Macrodef;