Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
4532b5553db699d5bed250454f9a45e0f66f4bf8
/
.
/
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
)
{
}