repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In ilasm/tests:
[mcs.git]
/
errors
/
cs0110.cs
blob
40b074aafc276382487ee8027e39aa20a8c7d109
1
// cs0110.cs: The evaluation of the constant value for `A.B.C.X' involves a circular definition
2
// Line: 9
3
4
class
A
{
5
int
a
;
6
7
class
B
{
8
int
b
;
9
10
class
C
{
11
int
c
;
12
13
void
m
()
14
{
15
c
=
1
;
16
}
17
18
enum
F
{
19
A
,
20
B
,
21
C
,
22
D
=
X
,
23
E
24
}
25
26
const int
X
=
Y
+
1
;
27
const int
Y
=
1
+ (
int
)
F
.
E
;
28
}
29
}
30
31
static int
Main
(
string
[]
args
)
32
{
33
return
0
;
34
}
35
36
}