"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-177.cs
blob96579a8b5af4d63de806d42812b1c5838c7a8158
1 using System;
2 using System.Reflection;
4 public class MethodAttribute : Attribute {}
5 public class ReturnAttribute : Attribute {}
7 public class Test {
8 [Method]
9 [return: Return]
10 public void Method () {}
12 public static int Main () {
14 Type t = typeof(Test);
15 MethodInfo mi = t.GetMethod ("Method");
16 ICustomAttributeProvider cap = mi.ReturnTypeCustomAttributes;
18 if (cap != null)
19 return 0;
20 else
21 return 1;