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
Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git]
/
tests
/
gtest-175.cs
blob
6f2727f8175f0e5b4f08c459ced572619d4c8e33
1
using
System
;
2
3
public class
Foo
4
{
5
}
6
7
public class
X
8
{
9
public static
Foo
Test
(
Foo foo
,
Foo bar
)
10
{
11
return
foo
??
bar
;
12
}
13
14
public static int
Main
()
15
{
16
Foo
[]
array
=
new
Foo
[
1
];
17
18
Foo foo
=
new
Foo
();
19
Foo bar
=
Test
(
array
[
0
],
foo
);
20
21
if
(
bar
==
null
)
22
return
1
;
23
24
return
0
;
25
}
26
}