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
Update to recent changes -- mostly testcases failing due to missing ArrayList
[mcs.git]
/
tests
/
test-270.cs
blob
83de9898a169683768c5e2b9d15280a2249de120
1
using
System
;
2
3
class
X
4
{
5
static int
Test
(
string
format
,
params object
[]
args
)
6
{
7
return
1
;
8
}
9
10
static int
Test
(
string
format
,
__arglist
)
11
{
12
return
2
;
13
}
14
15
static int
Main
()
16
{
17
if
(
Test
(
"Hello"
,
1
,
2
,
"World"
) !=
1
)
18
return
1
;
19
if
(
Test
(
"Hello"
,
__arglist
(
"Boston"
)) !=
2
)
20
return
2
;
21
return
0
;
22
}
23
}