summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/Issue_2478.cpp
blob: fbcfec1fad270cc3121a69b14dd858a52211b2a9 (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;
};