From ede2e423f8612d5a09c1d34cdf1c5f90763519ba Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Tue, 20 May 2008 20:59:44 +0000 Subject: [PATCH] modular.adb: Remove test... gcc/testsuite/ * gnat.dg/modular.adb: Remove test, gnat.dg/modular1.adb already checks that the bug is fixed and is more concise. From-SVN: r135679 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gnat.dg/modular.adb | 16 ---------------- 2 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 gcc/testsuite/gnat.dg/modular.adb diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 092b1224101..b0002789473 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-05-20 Samuel Tardieu + + * gnat.dg/modular.adb: Remove test, gnat.dg/modular1.adb already + checks that the bug is fixed and is more concise. + 2008-05-20 Samuel Tardieu PR ada/35791 diff --git a/gcc/testsuite/gnat.dg/modular.adb b/gcc/testsuite/gnat.dg/modular.adb deleted file mode 100644 index 1eff3332708..00000000000 --- a/gcc/testsuite/gnat.dg/modular.adb +++ /dev/null @@ -1,16 +0,0 @@ --- { dg-do run } -with Ada.Text_IO; -procedure Modular is - type T1 is mod 9; - package T1_IO is new Ada.Text_IO.Modular_IO(T1); - X: T1 := 8; - J1: constant := 5; -begin - for J2 in 5..5 loop - pragma Assert(X*(2**J1) = X*(2**J2)); - if X*(2**J1) /= X*(2**J2) then - Ada.Text_IO.Put_Line("Failed"); - raise Program_Error; - end if; - end loop; -end Modular; -- 2.30.2