blob: 4d55a541197eeea23165fe8f65f9d0e79d470346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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;
}
|