mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 20:20:54 +00:00
Add test for PR9884.
llvm-svn: 131127
This commit is contained in:
parent
5fe6d35770
commit
d9ddbb0807
17
clang/test/SemaCXX/PR9884.cpp
Normal file
17
clang/test/SemaCXX/PR9884.cpp
Normal 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 )
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user