Sign in
ara-mdk
/
platform
/
external
/
clang
/
2cd889d6d97db0cf73930873871aa4a542e84b89
/
.
/
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
()
{
}
};
};