summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30260-var_def_gap.cpp
blob: 7333d2920a5f989b7e67790be5b4b48604d53f83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#define A                   -3
#define B            163
#define C     2

void foo()
{
	const std::string   & targetName1      = pEntry->getTargetName();
	const Point3d_t       currentPosition1 = pSatOrbit->GetPositionAtTime(jdNow);
}

void foo2()
{
	const std::string   **targetName2      = pEntry->getTargetName();
	const Point3d_t       currentPosition2 = pSatOrbit->GetPositionAtTime(jdNow);
}

void foo2()
{
	const std::string   **targetName3      = pEntry->getTargetName();
	const Point3d_t       currentPosition3 = pSatOrbit->GetPositionAtTime(jdNow);
}

typedef int  MY_INT;
typedef int *MY_INTP;
typedef int (*foo_t)(void *bar);
typedef int (*somefunc_t)(void *barstool);