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>2005-02-28 17:14:39 +0300
committerMarek Safar <marek.safar@gmail.com>2005-02-28 17:14:39 +0300
commit481358f23ae33b84c1adcefcc088c0f826432651 (patch)
tree9914f7b53943eaa33ffd3c2b9b2aaef0689a4966 /mcs/errors/cs1671-2.cs
parent634014febd63e972843d8e63ed0f8aea4017732e (diff)
parent3e17f2435fc480dd1f0e96901f9638f4ecf7e888 (diff)
more tests + updated fixed
svn path=/trunk/mcs/; revision=41283
Diffstat (limited to 'mcs/errors/cs1671-2.cs')
-rw-r--r--mcs/errors/cs1671-2.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/cs1671-2.cs b/mcs/errors/cs1671-2.cs
new file mode 100644
index 00000000000..f43287ea3b2
--- /dev/null
+++ b/mcs/errors/cs1671-2.cs
@@ -0,0 +1,20 @@
+// cs1518.cs : Attribute cannot be applied to namespaces. Expected class, delegate, enum, interface, or struct
+// Line : 14
+
+using System;
+
+[assembly: CLSCompliant (false)]
+
+namespace N
+{
+}
+
+[assembly: Obsolete]
+
+namespace M
+{
+}
+
+public class C {
+ public static void Main () {}
+} \ No newline at end of file