1// Expect 10 errors (one per function)
2
3float2x2 x;
4
5void shr_eq() { x >>= 1; }
6void shl_eq() { x <<= 1; }
7void and_eq() { x &=  1; }
8void or_eq()  { x |=  1; }
9void xor_eq() { x ^=  1; }
10
11void shr() { x = x >> 1; }
12void shl() { x = x << 1; }
13void and() { x = x & 1; }
14void or()  { x = x | 1; }
15void xor() { x = x ^ 1; }
16