Throw in the class constraint and it should work.
public void Test(T instance) where T : class
{
if (instance == default(T))
{
}
}
Or if you only want value types you can do this.
public void Test(T instance) where T : struct, IEquatable
{
if (instance.Equals(default(T)))
{
}
}