Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 struct X { ~X(); };
      5 template <typename T>
      6 struct A {
      7   struct B { X x; };
      8   struct C : public B {
      9     C() : B() { }
     10   };
     11 };
     12