Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gnat.dg/testint.adb @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 -- { dg-do run } |
2 -- { dg-options "-gnato" } | |
3 | |
4 with Text_IO; use Text_IO; | |
5 procedure testint is | |
6 function m1 (a, b : short_integer) return integer is | |
7 begin | |
8 return integer (a + b); | |
9 end m1; | |
10 f : integer; | |
11 begin | |
12 f := m1 (short_integer'Last, short_integer'Last); | |
13 end testint; |