aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/cpp/initializer_list.cpp
blob: 5a27d17f5fb17a3cf3f0f9f2fa2f1ad6c1af1055 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Foo {

  Foo(int a, int b, int c, int d)
    : m_a(a)
    , m_b(b)
    , m_c(c)
    , m_d(d) {}

  Foo(int a, int b, int c) :
    m_a(a),
    m_b(b),
    m_c(c)
  {}

  int m_a, m_b, m_c, m_d;
};