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>2009-09-24 15:02:41 +0400
committerMarek Safar <marek.safar@gmail.com>2009-09-24 15:02:41 +0400
commita416d714deb710bb3575ee8d60bb0ae876612000 (patch)
tree26e4ae0cf86da53c753e02eaf298d1e5be41a03b /mcs/errors
parent69302534d78e36686217fd0d16a11794ee0a4f24 (diff)
New test.
svn path=/trunk/mcs/; revision=142561
Diffstat (limited to 'mcs/errors')
-rw-r--r--mcs/errors/cs0037-8.cs11
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;
+ }
+}