projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
test-866.cs
1
class C : B
2
{
3
public static bool operator + (C a, short b)
4
{
5
return false;
6
}
7
8
public static bool operator + (C a, long b)
9
{
10
return false;
11
}
12
}
13
14
class B
15
{
16
public static bool operator + (B b, string s)
17
{
18
return false;
19
}
20
}
21
22
public class Test
23
{
24
public static void Main ()
25
{
26
var c = new C ();
27
var a1 = c + "a";
28
var a2 = c + "a";
29
}
30
}