Files
mono/mcs/errors/cs0675.cs
T
Marek Safar 0759fb325c properties
svn path=/trunk/mcs/; revision=156170
2010-04-27 09:03:55 +00:00

15 lines
306 B
C#

// CS0675: The operator `|' used on the sign-extended type `int'. Consider casting to a smaller unsigned type first
// Line: 11
// Compiler options: -warnaserror -warn:3
public class C
{
public static void Main()
{
int x = 1;
int y = 1;
long value = (((long)x) << 32) | y;
}
}