Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

37 lines
395 B
C#

// CS0110: The evaluation of the constant value for `A.B.C.X' involves a circular definition
// Line: 9
class A {
int a;
class B {
int b;
class C {
int c;
void m ()
{
c = 1;
}
enum F {
A,
B,
C,
D = X,
E
}
const int X = Y + 1;
const int Y = 1 + (int) F.E;
}
}
static int Main (string [] args)
{
return 0;
}
}