mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 12:15:46 +00:00
d9ddbb0807
llvm-svn: 131127
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 )
|
|
{
|
|
}
|