[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[mono.git] / mcs / tests / test-912.cs
1 // Compiler options: -r:test-912-lib.dll
2
3 using System;
4 using TypeLib;
5
6 public class Bar
7 {
8         public const ushort FIELD = Foo.CONSTANT;
9
10         public static int Main ()
11         {
12                 Console.WriteLine (FIELD);
13                 if (FIELD != 65535)
14                         return 1;
15
16                 return 0;
17         }
18 }