projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[msbuild] bump to xplat-master branch HEAD
[mono.git]
/
mcs
/
tests
/
gtest-466.cs
1
using System;
2
3
class Program
4
{
5
bool Test<T> (T t) where T : class
6
{
7
return t == this;
8
}
9
10
public static int Main ()
11
{
12
var p = new Program ();
13
14
if (p.Test ("a"))
15
return 1;
16
17
if (!p.Test (p))
18
return 2;
19
20
return 0;
21
}
22
}