projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d6c1a5
)
Improve test
author
Miguel de Icaza
<miguel@gnome.org>
Tue, 10 Dec 2002 22:34:40 +0000
(22:34 -0000)
committer
Miguel de Icaza
<miguel@gnome.org>
Tue, 10 Dec 2002 22:34:40 +0000
(22:34 -0000)
svn path=/trunk/mcs/; revision=9545
mcs/tests/test-68.cs
patch
|
blob
|
history
diff --git
a/mcs/tests/test-68.cs
b/mcs/tests/test-68.cs
index df49dbc878654a21456f8cbb5290d2a8fff783cc..ffe5031c079722f3bc30c2e61897bd0c26724d9d 100755
(executable)
--- a/
mcs/tests/test-68.cs
+++ b/
mcs/tests/test-68.cs
@@
-6,6
+6,14
@@
enum A {
Hello
}
+class Y {
+ public Y ()
+ {
+ value = 3;
+ }
+ public int value;
+}
+
class X {
static int Main ()
@@
-16,7
+24,11
@@
class X {
Console.WriteLine ("value is: " + (5.ToString ()));
if (5.ToString () != "5")
return 2;
-
+
+ Y y = new Y ();
+ if (y.value.ToString () != "3")
+ return 3;
+ Console.WriteLine ("Test ok");
return 0;
}
}