[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0165-51.cs
1 // CS0165: Use of unassigned local variable `s'
2 // Line: 12
3 // Compiler options: -r:CS0165-51-lib.dll
4
5 using System;
6
7 class C<T> where T : class
8 {
9         public static void Foo ()
10         {
11             S<T> s;
12             Console.WriteLine (s);
13         }
14 }