class Foo : public A,
            public B,
            public C
{

}

class Foo
  : public A,
    public B,
    public C
{

}

class Foo
  : public A
  , public B
  , public C {

};

class Foo :
  public A
  , public B
  , public C {

};

class Foo {
public:

  int foo(int a,
          int b,
          int c) {

    for (int i = 0;
         i < n;
         ++i)
    {

    }
  }
};
