summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/var_def_gap.cpp
blob: 0cca962b4aceff1b9d287dc42bd5498adeea03b1 (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);