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