summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/34211-anonymous_enum.cpp
blob: ef237a6ec53210d0a9ea89113732806390ae710d (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
enum {
  E11 = 0,
  E12 = 1,
  E13 = 2
};

enum Enum1 {
  E21 = 0,
  E22 = 1,
  E23 = 2
};

enum Enum2 : int {
  E31 = 0,
  E32 = 1,
  E33 = 2
};

enum Enum3
: int {
  E41 = 0,
  E42 = 1,
  E43 = 2
};

enum : int {
  E51 = 0,
  E52 = 1,
  E53 = 2
};

enum
: int {
  E61 = 0,
  E62 = 1,
  E63 = 2
};