aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/PR6562.cpp
blob: 854d9b058bc3dd468e829f6f3c37f39c08506e27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify %s

struct X { ~X(); };
template <typename T>
struct A {
  struct B { X x; };
  struct C : public B {
    C() : B() { }
  };
};