blob: 6e017c2ada6beb26ca87dc45e16363324265eb75 [file] [log] [blame]
// Expect 6 errors
uint uintMin = 0;
uint uintMinMinusOne = -1; // error
uint uintMax = 4294967295;
uint uintMaxPlusOne = 4294967296; // error
ushort4 us4_neg = ushort4(2, 1, 0, -1); // error -1
ushort4 us4_pos = ushort4(65536, 65535, 65534, 65533); // error 65536
uint cast_int = uint(4294967296.); // error
ushort cast_short = ushort(65536.); // error