Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / gtest-anontype-07.cs
1
2
3 using System;
4 using System.Collections;
5
6 public class Test
7 {
8         public static int Main ()
9         {
10                 var v1 = new {  };
11                 var v2 = new {  };
12                 
13                 if (v1.GetType () != v2.GetType ())
14                         return 1;
15                         
16                 if (!v1.Equals (v2))
17                         return 2;
18                         
19                 Console.WriteLine (v1);
20                 Console.WriteLine (v2);
21                 return 0;
22         }
23 }
24