[Mono-list] Bug Report and Test ;-) for mcs

Adam Treat manyoso@yahoo.com
Mon, 18 Feb 2002 01:40:34 -0800


Came across another bug.  mcs is compiling this when csc balks and throws a 
[Operator '' cannot be applied to operands of type '' and '']...  Note: when 
mono or mint are used to run the resultant executable, mint segfaults and the 
jit throws a [file jit.c: line 379 (map_stind_type): should not be reached]

Here is the nasty code:

using System;

public class test
	public static void Main(string[] args)
		Console.WriteLine("mcs shouldn't compile this" + no_return());

	public static void no_return()