Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-547.cs
1 using System;
2
3 public class Foo
4 {
5         static void GenericLock<T> (T t) where T : class
6         {
7                 lock (t)
8                 {
9                 }
10         }
11         
12         public static void Main ()
13         {
14                 GenericLock ("s");
15         }
16 }