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
[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git]
/
mcs
/
tests
/
test-static-using-01.cs
blob
8c80732704b6e4f9f19fce6ce18a767b9a9c9556
1
// Compiler options: -langversion:6
2
3
using static
A
.
B
.
X
;
4
5
namespace
A
.
B
6
{
7
static class
X
8
{
9
public static int
Test
()
10
{
11
return
5
;
12
}
13
}
14
}
15
16
namespace
C
17
{
18
class
M
19
{
20
public static int
Main
()
21
{
22
if
(
Test
() !=
5
)
23
return
1
;
24
25
return
0
;
26
}
27
}
28
}