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>2015-02-17 12:57:23 +0300
committerMarek Safar <marek.safar@gmail.com>2015-02-17 12:59:33 +0300
commit673e8fa8eedc27d8f92792b7247b2fc121490b30 (patch)
tree057c96d9f4c13b150c9d0b174029e6fe5ea04a89 /mcs/tests/test-918.cs
parent33ad107825e14451f4eb9c6273a599fe8804b106 (diff)
[mcs] Single name meaning relaxation to match roslyn
Diffstat (limited to 'mcs/tests/test-918.cs')
-rw-r--r--mcs/tests/test-918.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/test-918.cs b/mcs/tests/test-918.cs
new file mode 100644
index 00000000000..e8e0f9f6657
--- /dev/null
+++ b/mcs/tests/test-918.cs
@@ -0,0 +1,19 @@
+public class Test
+{
+ Test x;
+
+ void Foo ()
+ {
+ {
+ string x = "dd";
+ }
+
+ {
+ x = null;
+ }
+
+ x = new Test ();
+ }
+
+ public static void Main () { }
+} \ No newline at end of file