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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
test-static-using-07.cs
blob
5482903bf3a0dbce1424fb6a007082be9edb0457
1
using static
System
.
String
;
2
using static
S
;
3
4
struct
S
5
{
6
internal static int
Foo
()
7
{
8
return
5
;
9
}
10
}
11
12
class
Test
13
{
14
public static int
Main
()
15
{
16
string
res
=
Concat
(
"a"
,
"b"
,
"c"
);
17
if
(
res
!=
"abc"
)
18
return
1
;
19
20
if
(
Foo
() !=
5
)
21
return
2
;
22
23
return
0
;
24
}
25
}