projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4003 from ntherning/ignore-disconnected-interfaces-in-HttpListene...
[mono.git]
/
mcs
/
tests
/
test-static-using-02.cs
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
}