[System.Windows.Forms] Disable failing test
[mono-project.git] / mcs / tests / gtest-044.cs
blob5c1fdd1e73742f51637d0c83889b269b34c7437a
1 // Operators and generic types.
3 using System;
5 class X<T>
7 public int Count;
9 public X (int count)
11 this.Count = count;
14 public static X<T> operator ++ (X<T> operand) {
15 return new X<T> (operand.Count + 1);
19 class Test
21 public static void Main ()
23 X<long> x = new X<long> (5);
24 Console.WriteLine (x.Count);
25 x++;
26 Console.WriteLine (x.Count);