Sign in
cobalt
/
cobalt
/
b6855995c22e1d087309b04ad43845d3c6e263ee
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
PR9884.cpp
blob: bb8bd6a56bff9b8c7b7c6330595990865c59fcf4 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
class
Base
{
protected
:
Base
(
int
val
);
};
class
Derived
:
public
Base
{
public
:
Derived
(
int
val
);
};
Derived
::
Derived
(
int
val
)
:
Base
(
val
)
{
}