summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/33152-bug_1004.cpp
blob: f072a583fef1f10f89a63cdb5f63d140d21cdecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int main()
{
	int  b = 3;
	int* p = &b;

	// Should stay as b * *p
	int a = b * *p;

	// Correctly formats as a * b;
	int c = b * a;

	// Correctly formats as d = *p;
	int d = *p;
}