Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git] / tests / gtest-anontype-01.cs
blobbaae8c9817bdd25577a463ad2a8ade22d0b51634
2 // Tests anonymous types
3 using System;
4 using System.Collections;
6 public class Test
8 static int Main ()
10 var v = new { Foo = "Bar", Baz = 42 };
12 if (v.Foo != "Bar")
13 return 1;
14 if (v.Baz != 42)
15 return 2;
17 return 0;