Add test for PR9884.

llvm-svn: 131127
This commit is contained in:
Rafael Espindola 2011-05-10 14:19:13 +00:00
parent 5fe6d35770
commit d9ddbb0807

View File

@ -0,0 +1,17 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
class Base {
protected:
Base(int val);
};
class Derived : public Base {
public:
Derived(int val);
};
Derived::Derived(int val)
: Base( val )
{
}