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-231.cs
blob
61c9a0684ac2e5e2359e147682dc35af46d32999
1
class
T
{
2
static int
ret_code
=
0
;
3
4
public static int
Main
()
5
{
6
try
{
7
T t
=
null
;
8
t
.
Foo
();
9
}
catch
{
10
return
ret_code
;
11
}
12
ret_code
=
1
;
13
return
ret_code
;
14
}
15
16
void
Foo
() {
17
if
(
this
==
null
) {
18
System
.
Console
.
WriteLine
(
"This isnt anything!?!?"
);
19
ret_code
=
1
;
20
}
21
}
22
}