Files
mono/mcs/errors/cs0675.cs
T
Marek Safar e2e05d333a New tests.
svn path=/trunk/mcs/; revision=65991
2006-09-27 19:35:16 +00:00

15 lines
320 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;
}
}