New test.
authorMarek Safar <marek.safar@gmail.com>
Tue, 11 May 2010 21:00:35 +0000 (21:00 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 11 May 2010 21:00:35 +0000 (21:00 -0000)
svn path=/trunk/mcs/; revision=157169

mcs/tests/test-761-lib.cs [new file with mode: 0644]
mcs/tests/test-761.cs [new file with mode: 0644]

diff --git a/mcs/tests/test-761-lib.cs b/mcs/tests/test-761-lib.cs
new file mode 100644 (file)
index 0000000..0a2349f
--- /dev/null
@@ -0,0 +1,8 @@
+// Compiler options: -t:library
+
+using System;
+
+public class DerivedAttribute : BaseAttribute {}
+
+[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
+public class BaseAttribute : System.Attribute {}
\ No newline at end of file
diff --git a/mcs/tests/test-761.cs b/mcs/tests/test-761.cs
new file mode 100644 (file)
index 0000000..bb153b8
--- /dev/null
@@ -0,0 +1,12 @@
+// Compiler options: -r:test-761-lib.dll
+
+public class C
+{
+       [Derived ()]
+       [Derived ()]
+       int I { get; set; }
+
+       public static void Main ()
+       {
+       }
+}
\ No newline at end of file