projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d23a0b
)
New test.
author
Marek Safar
<marek.safar@gmail.com>
Thu, 3 Apr 2008 10:05:31 +0000
(10:05 -0000)
committer
Marek Safar
<marek.safar@gmail.com>
Thu, 3 Apr 2008 10:05:31 +0000
(10:05 -0000)
svn path=/trunk/mcs/; revision=99734
mcs/errors/gcs0458-4.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mcs/errors/gcs0458-4.cs
b/mcs/errors/gcs0458-4.cs
new file mode 100644
(file)
index 0000000..
37be80a
--- /dev/null
+++ b/
mcs/errors/gcs0458-4.cs
@@ -0,0
+1,12
@@
+// CS0458: The result of the expression is always `null' of type `int?'
+// Line: 8
+// Compiler options: -warnaserror -warn:2
+
+class C
+{
+ static void Main ()
+ {
+ ushort us = 22;
+ int? r = us << null;
+ }
+}