llvm-capstone/clang/test/SemaCXX/PR9884.cpp
Rafael Espindola d9ddbb0807 Add test for PR9884.
llvm-svn: 131127
2011-05-10 14:19:13 +00:00

18 lines
200 B
C++

// 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 )
{
}