diff options
Diffstat (limited to 'mcs/errors/cs0458-17.cs')
-rw-r--r-- | mcs/errors/cs0458-17.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0458-17.cs b/mcs/errors/cs0458-17.cs new file mode 100644 index 0000000000..748f7730f3 --- /dev/null +++ b/mcs/errors/cs0458-17.cs @@ -0,0 +1,12 @@ +// CS0458: The result of the expression is always `null' of type `int?' +// Line: 10 +// Compiler options: -warnaserror -warn:2 + +class C +{ + public static void Main () + { + int i = 44; + i <<= null; + } +} |