diff options
author | Miguel de Icaza <miguel@gnome.org> | 2003-02-26 01:45:04 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2003-02-26 01:45:04 +0300 |
commit | 1af72c50845a9173a7efd6c45bc7f1562c776605 (patch) | |
tree | 95d8aceac52ed4d02f46dd272ca46207e09585b6 /mcs/tests/test-187.cs | |
parent | 9f7b2c132a2ca4c13ae03581d7f48c78b831d687 (diff) |
Add new test
svn path=/trunk/mcs/; revision=11971
Diffstat (limited to 'mcs/tests/test-187.cs')
-rw-r--r-- | mcs/tests/test-187.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/test-187.cs b/mcs/tests/test-187.cs new file mode 100644 index 00000000000..b85a66a6700 --- /dev/null +++ b/mcs/tests/test-187.cs @@ -0,0 +1,19 @@ +// +// This test verifies that we resolve the source expression in a compound +// expression before we attempt to use it. +// + +using System.Collections.Specialized; + +class D { + static void A (NameValueCollection n) + { + n ["a"] += ";"; + } + + static int Main () + { + return 0; + } +} + |