public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4344] modula2: testsuite correction to m2date.mod
@ 2023-09-29 23:48 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-09-29 23:48 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c00fcbdab84aa20229d5ea0e0604a8367686447c

commit r14-4344-gc00fcbdab84aa20229d5ea0e0604a8367686447c
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Sat Sep 30 00:48:09 2023 +0100

    modula2: testsuite correction to m2date.mod
    
    This patch corrects the m2date day of the week message.
    The days of the week array start with Thursday reflecting the
    1st Jan 1970.
    
    gcc/testsuite/ChangeLog:
    
            * gm2/iso/run/pass/m2date.mod (DayName): Reordered.
    
    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

Diff:
---
 gcc/testsuite/gm2/iso/run/pass/m2date.mod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gm2/iso/run/pass/m2date.mod b/gcc/testsuite/gm2/iso/run/pass/m2date.mod
index 1d8b595fc81..f7e0c3c43e5 100644
--- a/gcc/testsuite/gm2/iso/run/pass/m2date.mod
+++ b/gcc/testsuite/gm2/iso/run/pass/m2date.mod
@@ -13,7 +13,8 @@ TYPE
 
 CONST
    Debugging = FALSE ;
-   DayName = DayArray { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" } ;
+   (* 1st January 1970 was a Thursday.  *)
+   DayName   = DayArray { "Thu", "Fri", "Sat", "Sun", "Mon", "Tue", "Wed" } ;
    MonthName = MonthArray { "Dec", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov" } ;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-29 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-29 23:48 [gcc r14-4344] modula2: testsuite correction to m2date.mod Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).