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
[eglib] In AIX/generic POSIX, handle null addresses better (#17892)
[mono-project.git]
/
mcs
/
tests
/
test-270.cs
blob
ccc46c45597b31fe95708ac0824fc2db5ba56038
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
public 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
}