summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cpp/30281-Issue_2478.cpp
blob: 40674590a7137d5f8c6ba0feefe0a562b2d23ea4 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//example file
typedef int X35GlobalT1;
typedef int X35T2;

void fooX35a()
{
	::X35GlobalT1 a1;
	X35T2         a2;

	::X35GlobalT1 a3 = 1;
	X35T2         a4 = 1;
}

void fooX35b()
{
	X35GlobalT1 a1;
	X35T2       a2;

	X35GlobalT1 a3 = 1;
	X35T2       a4 = 1;
}

class X35_1a
{
private:
::X35GlobalT1 a1;
X35T2         a2;

::X35GlobalT1 a3 = 1;
X35T2         a4 = 1;
};

class X35_1b
{
private:
X35GlobalT1 a1;
X35T2       a2;

X35GlobalT1 a3 = 1;
X35T2       a4 = 1;
};