summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/31661-Issue_3097.cpp
blob: ede644ad0af9e5460c6021f25e2a90b170bbc347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
void foo()
{
	for( unsigned p = 0; p < np;
	     ++p )
	{
		double* o = bar[p];
	}

	int x = 42;
}

void bar()
{
	// hello
	int x  = 42;
	if( x ) foo;

	type::value_t y = 0;
}