summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0165-51.cs
blob: bce82c61b55eaddfe86fc8bceec9ff8bc09473d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0165: Use of unassigned local variable `s'
// Line: 12
// Compiler options: -r:CS0165-51-lib.dll

using System;

class C<T> where T : class
{
	public static void Foo ()
	{
	    S<T> s;
	    Console.WriteLine (s);
	}
}