bug in records?

Tue, 12 Dec 1995 10:56:11 -0800



gpc-2.6.3/sparc

I believe the following program should generate an error.  (But it doesn't.)

program variant(output);

  type myrec = record 
		 case integer of
		   1 : (f1:integer);
		   2 : (f1:real)
	       end;

  begin
  end.


-- 
Phil Nelson
e-mail: phil@cs.wwu.edu
http://www.cs.wwu.edu/~phil

From pege Mon Sep 18 16:20:55 1995
Re^2: From Borland to GNU ...
To: Jukka.Virtanen@hut.fi
Mon, 18 Sep 1995 16:20:55 +0100 (MESZ)
In-Reply-To:  from "Jukka Virtanen" at Sep 18, 95 05:03:59 pm
X-Mailer: ELM [version 2.4 PL13]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Content-Length: 1657      
Status: RO

Phil Nelson (phil@cs.wwu.edu)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es