Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
007c44ccbd048472469514284697f23a58475f35
/
.
/
test
/
SemaCXX
/
PR6562.cpp
blob: 144fde68b1786064784bba841b248a719834acfc [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
struct
X
{
~
X
();
};
template
<
typename
T
>
struct
A
{
struct
B
{
X x
;
};
struct
C
:
public
B
{
C
()
:
B
()
{
}
};
};