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:
authorMarek Safar <marek.safar@gmail.com>2012-02-13 21:25:48 +0400
committerMarek Safar <marek.safar@gmail.com>2012-02-13 21:40:20 +0400
commit95becb75ebd62fa869605c3ee40c3aedc9b5d1c7 (patch)
treed5cfa68c0e988618714b2eefe6b4f18a8f23c1ce /mcs/tests/test-debug-16.cs
parent2a8b79ec1d4685a5d62630e2ce930a3df6c387a4 (diff)
Fix sequence points for more statements
Diffstat (limited to 'mcs/tests/test-debug-16.cs')
-rw-r--r--mcs/tests/test-debug-16.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/tests/test-debug-16.cs b/mcs/tests/test-debug-16.cs
new file mode 100644
index 00000000000..16db9204083
--- /dev/null
+++ b/mcs/tests/test-debug-16.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+class C
+{
+ string Name;
+ int value;
+
+ public static void Main ()
+ {
+ }
+
+ void Test_1 ()
+ {
+ var o = new Dictionary<string, int> ()
+ {
+ {
+ "Foo", 3
+ },
+ {
+ "Bar", 1
+ },
+ };
+ }
+
+ void Test_2 ()
+ {
+ var user = new C()
+ {
+ Name = "nn",
+ value = 8
+ };
+ }
+}