Browse Source

new test

svn path=/trunk/mcs/; revision=50861
Marek Safar 20 years ago
parent
commit
8fb90e9d1e
2 changed files with 8 additions and 0 deletions
  1. 7 0
      mcs/errors/cs0134.cs
  2. 1 0
      mcs/errors/known-issues-gmcs

+ 7 - 0
mcs/errors/cs0134.cs

@@ -0,0 +1,7 @@
+// cs0134.cs: `C.o': A const of reference other than string can only be initialized with null
+// Line: 6
+
+public class C
+{
+    public const object o = "12345";
+}

+ 1 - 0
mcs/errors/known-issues-gmcs

@@ -12,6 +12,7 @@
 #			  as NO ERROR and CS5001 is automatically ignored.
 
 cs0121-3.cs NO ERROR
+cs0134.cs
 cs0201.cs
 cs0202.cs # new in GMCS
 cs0212-3.cs NO ERROR