more tests.
authorMarek Safar <marek.safar@gmail.com>
Fri, 2 Dec 2005 15:06:55 +0000 (15:06 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 2 Dec 2005 15:06:55 +0000 (15:06 -0000)
svn path=/trunk/mcs/; revision=53831

mcs/tests/test-473.cs

index 22a42b8691f7327cfc0fbf27473d907fec66d05d..bc3ec110b4c131bcf305dd238063ad418cf08d1b 100644 (file)
@@ -3,8 +3,9 @@ using System.Runtime.InteropServices;
 
 [Obsolete ("Use Errno", true)]
 public enum Error {
-       EROFS,
-       ERANGE
+       EROFS,\r
+       ERANGE = TestConst.C,\r
+       EANOTHER = ERANGE,\r
 }
 
 [Obsolete ("Use Errno", true)]
@@ -27,6 +28,11 @@ public class Stdlib {
        [DllImport (LIBC)]\r
        public static extern IntPtr signal (int signum, IntPtr handler);\r
 }\r
+\r
+class TestConst {\r
+       [Obsolete ("B", true)]\r
+       public const int C = 3;\r
+}\r
 
 class Test {
        public static void Main () {