Sign in
cobalt
/
cobalt
/
9acf5125db5988fba13d7ec2ee71f8dec679c7bf
/
.
/
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
()
{
}
};
};