summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bit-colon.cpp
blob: b593255b84cc7258fe73eaae8bec88affe325af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class C
{
public:
   size_t f1 : 1;
   size_t f1:1;
   size_t f2 : sizeof(size_t) - 1;

Q_SIGNALS:
   void somesignal();
};

struct S
{
private:
   size_t f1 : 1;
   size_t f1:1;
   size_t f2 : sizeof(size_t) - 1;

Q_SIGNALS:
   void somesignal();
};