repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
PR9884.cpp
blob
bb8bd6a56bff9b8c7b7c6330595990865c59fcf4
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
class
Base
{
4
protected
:
5
Base
(
int
val
);
6
};
7
8
9
class
Derived
:
public
Base
{
10
public
:
11
Derived
(
int
val
);
12
};
13
14
15
Derived
::
Derived
(
int
val
)
16
:
Base
(
val
)
17
{
18
}