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

test-cls-17.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa0415c52c472b65303d832cae24bf8128f0c351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Compiler options: -warnaserror

// This code used to issue CS3014 errors in csc version 1.1

using System;

[assembly: CLSCompliant(false)]

[CLSCompliant(true)]
public enum E
{
	Value
}

[CLSCompliant(true)]
public class Foo
{
	public E e;
	public static void Main () {}
}