1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3class Base {
4protected:
5  Base(int val);
6};
7
8
9class Derived : public Base {
10public:
11  Derived(int val);
12};
13
14
15Derived::Derived(int val)
16  :  Base( val )
17{
18}
19