2010-06-04 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0110.cs
blob40b074aafc276382487ee8027e39aa20a8c7d109
1 // cs0110.cs: The evaluation of the constant value for `A.B.C.X' involves a circular definition
2 // Line: 9
4 class A {
5 int a;
7 class B {
8 int b;
10 class C {
11 int c;
13 void m ()
15 c = 1;
18 enum F {
19 A,
22 D = X,
26 const int X = Y + 1;
27 const int Y = 1 + (int) F.E;
31 static int Main (string [] args)
33 return 0;