Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git] / mcs / tests / test-75.cs
bloba16816cbbf0ae68914949555119ff53f3a85688b
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 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;