1 2 3 4 5 6 7 8 9 10 11 12 13 14
void foo() { // Ensure non-shift operators aren't changed x = 1 + 2; x = 1 + 2; x = 1 + 2; // Test position of shift operator cout << x << y; cout << x << y; cout << x << y; }