Sign in
cobalt
/
cobalt
/
5cb259d50f6e15a7a4b4262c245550c9e567a308
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
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
()
{
}
};
};