projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new error test
[mono.git]
/
mcs
/
tests
/
test-131.cs
1
using System;
2
3
public class SimpleAttribute : Attribute {
4
5
string n;
6
7
public SimpleAttribute (string name)
8
{
9
n = name;
10
}
11
}
12
13
public class Blah {
14
15
public enum Foo {
16
17
A,
18
19
[Simple ("second")]
20
B,
21
22
C
23
}
24
25
public static int Main ()
26
{
27
//
28
// We need a better test which does reflection to check if the
29
// attributes have actually been applied etc.
30
//
31
32
return 0;
33
}
34
35
}