1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
18 lines
200 B
C++
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 )
|
|
{
|
|
}
|