gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] Another one of ARRAY OF... problems


From: Dragiša Durić
Subject: [Gm2] Another one of ARRAY OF... problems
Date: Sun, 01 Aug 2010 20:19:17 +0200

% gm2 -I. -fiso -c tests/TestCase12.mod
Internal error: Segmentation fault
Please report this crash to the GNU Modula-2 mailing list <address@hidden>

================
MODULE TestCase12;

FROM
  SYSTEM
IMPORT
  TSIZE;    

TYPE
  Types= (t_CHAR, t_SHORTCARD, t_CARDINAL, t_LONGCARD, t_BOOLEAN,
t_BITSET, t_REAL);
  Sizes = ARRAY Types OF CARDINAL;

CONST
  sizes = Sizes {
    TSIZE(CHAR), TSIZE(CARDINAL), TSIZE(CARDINAL), TSIZE(CARDINAL),
    TSIZE(BOOLEAN), TSIZE(BITSET), TSIZE(REAL)
  };
  
END TestCase12.

-- 
Dragiša Durić <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]