Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-06-18 15:31:25 +0400
committerMarek Safar <marek.safar@gmail.com>2004-06-18 15:31:25 +0400
commitbf40fee8a3a8ab5e3a462233729e1b6490138635 (patch)
treef3fc7c53d99dab52853894887bbf858dec4cd3b0 /mcs/tests/test-273.cs
parentff785c3085d21a5ddc51e5d706ea37cd729dd261 (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/tests/test-273.cs')
-rw-r--r--mcs/tests/test-273.cs13
1 files changed, 13 insertions, 0 deletions
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);
+ }
+}