1 // Tests that the use of uninitialized variable in assignment operator
2 // expression is detected.
6 x += 1; //~ ERROR E0381
9 x -= 1; //~ ERROR E0381
12 x *= 1; //~ ERROR E0381
15 x /= 1; //~ ERROR E0381
18 x %= 1; //~ ERROR E0381
21 x ^= 1; //~ ERROR E0381
24 x &= 1; //~ ERROR E0381
27 x |= 1; //~ ERROR E0381
30 x <<= 1; //~ ERROR E0381
33 x >>= 1; //~ ERROR E0381