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:
authorMartin Baulig <martin@novell.com>2003-07-13 22:28:32 +0400
committerMartin Baulig <martin@novell.com>2003-07-13 22:28:32 +0400
commit8605df4bfbc5ffd550ff7f0ff0780b5679f4dfe7 (patch)
tree8bbb9c7ab8ae6503e3ffd896ab7cd1db1b52a69e /mcs/tests/test-200.cs
parent9fbb1483e34d130c6e8219bb6b15626751e7a1bd (diff)
2003-07-13 Martin Baulig <martin@ximian.com>
* test-202.cs: Added test for bug #41975. 2003-07-13 Martin Baulig <martin@ximian.com> * test-201.cs: Added test for bug #35631. 2003-07-12 Martin Baulig <martin@ximian.com> * test-200.cs: Added test for bug #45854. svn path=/trunk/mcs/; revision=16165
Diffstat (limited to 'mcs/tests/test-200.cs')
-rw-r--r--mcs/tests/test-200.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/mcs/tests/test-200.cs b/mcs/tests/test-200.cs
new file mode 100644
index 00000000000..3c6f35539b7
--- /dev/null
+++ b/mcs/tests/test-200.cs
@@ -0,0 +1,27 @@
+using System;
+
+class X
+{
+ public static int Main ()
+ {
+ int x = 7;
+ int y = 2;
+
+ x = (y += 3) + 10;
+ if (y != 5)
+ return 1;
+ if (x != 15)
+ return 2;
+
+ x += 9;
+ if (x != 24)
+ return 3;
+
+ byte c = 3;
+ byte d = 5;
+ x = d ^= c;
+ Console.WriteLine (x);
+
+ return 0;
+ }
+}