gm2
[Top][All Lists]
Advanced

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

[Gm2] Comparission bug ?


From: Iztok Kobal
Subject: [Gm2] Comparission bug ?
Date: Tue, 20 Jan 2009 19:10:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.19) Gecko/20081213 SUSE/1.1.14-2.2 SeaMonkey/1.1.14

(gm2 on top of gcc-4.1.2)

This should go through, I guess :-\

MODULE test;

TYPE
Enum = (A, B, C, D);
Typ = [A..D];

VAR
typ : Typ;

BEGIN
IF typ = A THEN
typ := B;
END;
END test.

gm2 -c -I. -fiso test.mod
test.mod: In function '_M2_test_init':
test.mod:10: error: invalid operands to binary !=


Regards, Iztok




reply via email to

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