summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp
blob: efb19263cc192327650ee10460c93d8390030e77 (plain)
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;
}