diff options
author | Martin Baulig <martin@novell.com> | 2005-05-14 08:35:18 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2005-05-14 08:35:18 +0400 |
commit | af9d56f3bbea0be29134eaad0215d672a43677ed (patch) | |
tree | e550a99e29e6a3c8a4bc055e363a6edfbea81f94 /mcs/tests/test-381.cs | |
parent | 8cc13689938d91d608d231ad8e3ccc840d098a9a (diff) |
2005-05-14 Martin Baulig <martin@ximian.com>
* test-381.cs: Slightly modified version of test-360.
svn path=/trunk/mcs/; revision=44514
Diffstat (limited to 'mcs/tests/test-381.cs')
-rw-r--r-- | mcs/tests/test-381.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/test-381.cs b/mcs/tests/test-381.cs new file mode 100644 index 00000000000..a8f9d728a88 --- /dev/null +++ b/mcs/tests/test-381.cs @@ -0,0 +1,19 @@ +public class Application +{ + public static void Main(string[] args) + { + if (true) + { + string thisWorks = "nice"; + System.Console.WriteLine(thisWorks); + } + else + { + string thisDoesnt; + System.Console.WriteLine(); + thisDoesnt = "not so"; + System.Console.WriteLine(thisDoesnt); + } + } +} + |