blob: 927ed044bc75c02b388df77f1f51a459a9d66be7 [file] [log] [blame]
#include <lib.h>
namespace lib {
Base::Base(int a, int b) : a(a), b(b) {}
int Base::get() const { return a + b; }
Foo::Foo(int a, int b) : Base{a, b} {}
int Foo::get() const { return 2 * a + b; }
} // namespace lib