summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30293-pos_shift.cpp
blob: d4a8f1ed006885232ac6d5545211a39edb1a8e1c (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;
}