diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-06-18 15:31:25 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-06-18 15:31:25 +0400 |
commit | bf40fee8a3a8ab5e3a462233729e1b6490138635 (patch) | |
tree | f3fc7c53d99dab52853894887bbf858dec4cd3b0 /mcs | |
parent | ff785c3085d21a5ddc51e5d706ea37cd729dd261 (diff) |
2004-06-18 Marek Safar <marek.safar@seznam.cz>
* test-273.cs: New test for #55971
svn path=/trunk/mcs/; revision=29869
Diffstat (limited to 'mcs')
-rwxr-xr-x | mcs/tests/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/tests/test-273.cs | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/ChangeLog b/mcs/tests/ChangeLog index 8dbf63e87d8..1e3a2712590 100755 --- a/mcs/tests/ChangeLog +++ b/mcs/tests/ChangeLog @@ -1,3 +1,7 @@ +2004-06-18 Marek Safar <marek.safar@seznam.cz> + + * test-273.cs: New test for #55971 + 2004-06-18 Raja R Harinath <rharinath@novell.com> * test-272.cs: New test case for the breaking build. diff --git a/mcs/tests/test-273.cs b/mcs/tests/test-273.cs new file mode 100644 index 00000000000..deedc0b128c --- /dev/null +++ b/mcs/tests/test-273.cs @@ -0,0 +1,13 @@ +using System; + +public class FooAttribute : Attribute { + public char [] Separator; +} + +[Foo (Separator = new char[] {'A'})] +public class Tests { + public static void Main () { + FooAttribute foo = (FooAttribute) (typeof (Tests).GetCustomAttributes (false) [0]); + Console.WriteLine (foo.Separator); + } +} |