[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / PR6562.cpp
blob144fde68b1786064784bba841b248a719834acfc
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 struct X { ~X(); };
5 template <typename T>
6 struct A {
7 struct B { X x; };
8 struct C : public B {
9 C() : B() { }