diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-06-13 17:07:53 +0400 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-06-13 17:07:53 +0400 |
commit | b027e6cc76b8e75ca8ee8672b15088361ff8742e (patch) | |
tree | 0c4ab8aa42fbaa199797ba958f7f2b08762d4ef6 /mcs/tests/test-131.cs | |
parent | af6b5f0897ae0516cec93ed9ae0cefcb08d22fd4 (diff) |
2002-06-13 Ravi Pratap <ravi@ximian.com>
* test-131.cs : Add to test enum member attribute application.
svn path=/trunk/mcs/; revision=5270
Diffstat (limited to 'mcs/tests/test-131.cs')
-rw-r--r-- | mcs/tests/test-131.cs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mcs/tests/test-131.cs b/mcs/tests/test-131.cs new file mode 100644 index 00000000000..568576c96fa --- /dev/null +++ b/mcs/tests/test-131.cs @@ -0,0 +1,35 @@ +using System; + +public class SimpleAttribute : Attribute { + + string n; + + public SimpleAttribute (string name) + { + n = name; + } +} + +public class Blah { + + public enum Foo { + + A, + + [Simple ("second")] + B, + + C + } + + public static int Main () + { + // + // We need a better test which does reflection to check if the + // attributes have actually been applied etc. + // + + return 0; + } + +} |