Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaTemplate
/
member-initializers.cpp
blob: 6791048874f8f1e18d8659ff1ca2f766f393a2c8 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
template
<
typename
T
>
struct
A
{
A
()
:
j
(
10
),
i
(
10
)
{
}
int
i
;
int
j
;
};
template
<
typename
T
>
struct
B
:
A
<
T
>
{
B
()
:
A
<
T
>()
{
}
};