summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/31720-bit-colon.cpp
blob: b8e7c4db9a69a3bc5c36c1faf3505e15bdaa3f06 (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();
};