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>2010-08-16 16:52:42 +0400
committerMarek Safar <marek.safar@gmail.com>2010-08-16 16:54:10 +0400
commitcbec2fb906a99048e9c58130a422e02d0ba19caf (patch)
tree34d63d13c5ea1e9bd6e863b79713684f6b20b578 /mcs/tests/test-796.cs
parent79f07ceecc1d7f30f424fb495386e1b12c6f9d2d (diff)
[408516] No implicit user conversion from or to interfaces
Diffstat (limited to 'mcs/tests/test-796.cs')
-rw-r--r--mcs/tests/test-796.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/tests/test-796.cs b/mcs/tests/test-796.cs
new file mode 100644
index 00000000000..c4eae06a878
--- /dev/null
+++ b/mcs/tests/test-796.cs
@@ -0,0 +1,22 @@
+// Compiler options: -warnaserror -warn:4
+
+// No CS0649 warnings
+
+using System;
+
+[Foo (Product = "Mono")]
+class Program
+{
+ static void Main ()
+ {
+ }
+}
+
+class FooAttribute : Attribute
+{
+ public string Product;
+
+ public FooAttribute ()
+ {
+ }
+}