Merge pull request #1066 from esdrubal/bug19313
[mono.git] / mcs / errors / cs0023-22.cs
1 // CS0023: The `?' operator cannot be applied to operand of type `null'
2 // Line: 8
3
4 class C
5 {
6         static void Main ()
7         {
8                 var res = null?[0];
9         }
10 }