"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-partial-07.cs
blob496f11bdfab5fd6783d37db9dfb0fa50c96e73ab
1 using System;
2 using System.Reflection;
3 using System.Runtime.InteropServices;
5 [Test2]
6 public partial class Test
7 { }
10 [AttributeUsage(AttributeTargets.Struct)]
11 public partial class TestAttribute: Attribute
15 [AttributeUsage(AttributeTargets.All)]
16 public partial class Test2Attribute: Attribute
20 [TestAttribute]
21 public struct Test_2 {
24 class X
26 public static int Main ()
28 if (Attribute.GetCustomAttributes (typeof (Test)).Length != 1)
29 return 1;
31 if (Attribute.GetCustomAttributes (typeof (Test_2)).Length != 1)
32 return 1;
34 Console.WriteLine ("OK");
35 return 0;