Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-495.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 176a1e17cb8ca585b420a3db12701b20272142db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This code must be compilable without any warning
// Compiler options: -warnaserror -warn:4

using System;

namespace plj
{
	public abstract class aClass
	{
		public static implicit operator aClass(fromClass o)
		{ 
			return null;
		}
	}
	
	public class realClass1 : aClass
	{
		public static implicit operator realClass1(fromClass o)
		{
			return null;
		}
	}
	
	public class fromClass
	{
		public static void Main () {}
	}
}