aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/cpp/initializer_list.cpp
blob: d34ed025cd0c3b590d51d04fbeefac71bfae9f50 (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;
};