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