blob: 8186b0b620a966db1c6a19b8ec6359b4b10cd73f [file] [log] [blame]
// Expect 10 errors (one per function)
float2 x;
void shr_eq() { x >>= 1; }
void shl_eq() { x <<= 1; }
void and_eq() { x &= 1; }
void or_eq() { x |= 1; }
void xor_eq() { x ^= 1; }
void shr() { x = x >> 1; }
void shl() { x = x << 1; }
void and() { x = x & 1; }
void or() { x = x | 1; }
void xor() { x = x ^ 1; }