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