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
2008-08-31 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
test-199.cs
blob
ee41b58dfe85f6ccac3687bdefd1abf2e7834976
1
public class
Test
2
{
3
public static int
Main
()
4
{
5
N1
.
Foo
.
Foo2 foo2
=
new
N1
.
Foo
.
Foo2
();
6
if
(
foo2
.
Talk
() !=
1
)
7
return
1
;
8
9
return
0
;
10
}
11
}
12
13
namespace
N1
14
{
15
public class
Foo
:
N2
.
Bar
16
{
17
public class
Foo2
:
Bar2
18
{
19
}
20
}
21
22
public class
Bar2
23
{
24
public int
Talk
()
25
{
26
return
1
;
27
}
28
}
29
}
30
31
namespace
N2
32
{
33
public class
Bar
34
{
35
private class
Bar2
36
{
37
public int
Talk
()
38
{
39
return
2
;
40
}
41
}
42
}
43
}