New test.
[mono.git] / mcs / errors / cs0675.cs
1 // CS0675: The operator `|' used on the sign-extended type `int'. Consider casting to a smaller unsigned type first\r
2 // Line: 11\r
3 // Compiler options: -warnaserror -warn:3\r
4 \r
5 public class C\r
6 {\r
7    public static void Main()\r
8    {\r
9       int x = 1;\r
10       int y = 1;\r
11       long value = (((long)x) << 32) | y;\r
12    }\r
13 }\r
14 \r