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