Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
1e4c01b79273b9cd4e9e9ecfd3422df3900b8356
/
.
/
test
/
SemaTemplate
/
member-initializers.cpp
blob: 40f56b34dae090d3bfa5e70f0e68bb1d4e797de1 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template
<
typename
T
>
struct
A
{
A
()
:
j
(
10
),
i
(
10
)
{
}
int
i
;
int
j
;
};
template
<
typename
T
>
struct
B
:
A
<
T
>
{
B
()
:
A
<
T
>()
{
}
};