projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial set of Ward sgen annotations (#5705)
[mono.git]
/
mcs
/
tests
/
gtest-555.cs
1
using System;
2
3
struct Program
4
{
5
static int Test<T> (T o)
6
{
7
return o is Program? ? 1 : 2;
8
}
9
10
public static int Main ()
11
{
12
if (Test (5) != 2)
13
return 1;
14
15
Program? a = new Program ();
16
if (Test (a) != 1)
17
return 2;
18
19
return 0;
20
}
21
}