* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / tests / test-478.cs
1 using System;
2 using System.ComponentModel;
3 using System.ComponentModel.Design;
4
5 namespace Test {
6         class MainClass {
7                 public static void Main() {}
8         }
9
10         [Test(TestEnum2.TestValue)]
11         enum TestEnum {
12                 Value
13         }
14
15         class TestAttribute : Attribute {
16                 public TestAttribute( TestEnum2 value ) {
17                 }
18         }
19         
20         class Test2Attribute : Attribute {
21         }
22         
23         enum TestEnum2 {
24                 [Test2]
25                 TestValue
26         }
27 }