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-static-using-02.cs
blob
83c5636a1ad069f0841806f5dbfb7eee53e35a83
1
// Compiler options: -langversion:6
2
3
using
System
;
4
5
namespace
A
.
B
6
{
7
static class
X
8
{
9
public static int
Test
(
object
o
)
10
{
11
return
1
;
12
}
13
}
14
}
15
16
namespace
A
.
C
17
{
18
static class
X
19
{
20
public static int
Test
(
int
o
)
21
{
22
return
2
;
23
}
24
}
25
}
26
27
namespace
C
28
{
29
using static
A
.
B
.
X
;
30
using static
A
.
C
.
X
;
31
32
class
M
33
{
34
public static int
Main
()
35
{
36
if
(
Test
(
3
) !=
2
)
37
return
1
;
38
39
return
0
;
40
}
41
}
42
}