2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-373.cs
blob75952ad7e6d6fd44ceabb6ca8243b13c3ba1038d
1 using System;
3 namespace MonoBug
5 class MainClass
7 public static void Main ()
9 GenericType<bool> g = new GenericType<bool> (true);
10 if (g)
11 Console.WriteLine ("true");
15 public class GenericType<T>
17 private T value;
19 public GenericType (T value)
21 this.value = value;
24 public static implicit operator T (GenericType<T> o)
26 return o.value;