projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6341c59
)
more tests.
author
Marek Safar
<marek.safar@gmail.com>
Fri, 2 Dec 2005 15:06:55 +0000
(15:06 -0000)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/mcs/tests/test-473.cs
b/mcs/tests/test-473.cs
index 22a42b8691f7327cfc0fbf27473d907fec66d05d..bc3ec110b4c131bcf305dd238063ad418cf08d1b 100644
(file)
--- a/
mcs/tests/test-473.cs
+++ b/
mcs/tests/test-473.cs
@@
-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 () {