Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9baf39df74caa56696b293e763fdd7ef002e51ca
/
.
/
test
/
SemaCXX
/
PR9884.cpp
blob: ab883c4062c9038a1e39ceaafc1be1851a80a4d2 [
file
] [
log
] [
blame
]
// 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
)
{
}