linux-packaging-mono/mcs/tests/gtest-anontype-07.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

25 lines
303 B
C#

using System;
using System.Collections;
public class Test
{
public static int Main ()
{
var v1 = new { };
var v2 = new { };
if (v1.GetType () != v2.GetType ())
return 1;
if (!v1.Equals (v2))
return 2;
Console.WriteLine (v1);
Console.WriteLine (v2);
return 0;
}
}