diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-06-11 13:07:00 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-06-11 13:07:00 +0400 |
commit | 993516622ed8b22f2228837118c6d0a4e9f2c1cb (patch) | |
tree | 948d3a4b61fd50c76735969ed634e91dbdda89c4 /mcs/errors/cs0579-8.cs | |
parent | 495f81748f59531f053c7fc6ed0b1d8f90db0b90 (diff) |
new test
svn path=/trunk/mcs/; revision=29289
Diffstat (limited to 'mcs/errors/cs0579-8.cs')
-rw-r--r-- | mcs/errors/cs0579-8.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/errors/cs0579-8.cs b/mcs/errors/cs0579-8.cs new file mode 100644 index 00000000000..1a12a54ab65 --- /dev/null +++ b/mcs/errors/cs0579-8.cs @@ -0,0 +1,21 @@ +// cs0579.cs : Duplicate 'Obsolete' attribute +// Line : 17 + +using System; + +[AttributeUsage (AttributeTargets.ReturnValue)] +public class ReturnAttribute : Attribute +{ + public ReturnAttribute () + { + } +} + +class MainClass { + [Obsolete] + [return: Return] + [Obsolete] + static void Main() + { + } +} |