diff options
author | Marek Safar <marek.safar@gmail.com> | 2009-09-24 15:02:41 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2009-09-24 15:02:41 +0400 |
commit | a416d714deb710bb3575ee8d60bb0ae876612000 (patch) | |
tree | 26e4ae0cf86da53c753e02eaf298d1e5be41a03b /mcs/errors | |
parent | 69302534d78e36686217fd0d16a11794ee0a4f24 (diff) |
New test.
svn path=/trunk/mcs/; revision=142561
Diffstat (limited to 'mcs/errors')
-rw-r--r-- | mcs/errors/cs0037-8.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs0037-8.cs b/mcs/errors/cs0037-8.cs new file mode 100644 index 00000000000..5f54e10eda3 --- /dev/null +++ b/mcs/errors/cs0037-8.cs @@ -0,0 +1,11 @@ +// CS0037: Cannot convert null to `int' because it is a value type +// Line: 9 + +class C +{ + public static void Main () + { + int i = 44; + i <<= null; + } +} |