[configure] Add new target.
[mono-project.git] / mcs / tests / test-75.cs
blob819081b161641520ee170278cfcb3685fa02d179
1 //
2 // This test probes using an operator overloaded in a parents' parent
3 //
5 class X {
6 public static bool called = false;
8 static public X operator + (X a, X b)
10 called = true;
11 return null;
15 class Y : X {
18 class Z : Y {
21 class driver {
23 public static int Main ()
25 Z a = new Z ();
26 Z b = new Z ();
27 X c = a + b;
29 if (X.called)
30 return 0;
32 return 1;