Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / modular6.adb
blobf0f1c80c62f2a2347d352b77be0d8a503c0864f5
1 -- { dg-do compile }
3 with Ada.Text_IO; use Ada.Text_IO;
5 procedure Modular6 is
6 Max : Integer := 0;
8 type Modulus is mod 3;
9 begin
10 Max := 30;
12 for N in 1 .. Max loop
13 Put_Line("N: " & Integer'Image(N) & " Modulus: " & Integer'Image(Modulus'Modulus) & " Mod:" & Modulus'Image(Modulus'Mod(N)));
14 end loop;
15 end;