repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-122.cs
blob
27a08e8addec545af2d3d05f694acd95c4a1bfc3
1
//
2
// Tests that a nested class has full access to its container members
3
//
4
// A compile-only test.
5
//
6
7
class
A
{
8
private static int
X
=
0
;
9
10
class
B
{
11
void
Foo
()
12
{
13
++
X
;
14
}
15
}
16
17
public static int
Main
()
18
{
19
return
0
;
20
}
21
}