[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    [Mono-list] Bug Report and Test ;-) for mcs
From:       Adam Treat <manyoso () yahoo ! com>
Date:       2002-02-18 9:40:34
[Download RAW message or body]

Hello,

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()
	{
	}
}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic